Salut à toutes et à tous,
J’aimerais savoir pourquoi lorsque je rentre aucun paramètre à ce bash
Celui-ci me fait quand même un ls -l de commun ? !
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 chemin=$HOME/commun if [ -d "$chemin/$1" ] then ls -l "$chemin/$1" fi
Amicalement crodilus.







Répondre avec citation
Partager