2 réponses
Salut,
Au choix :
Au choix :
$ echo ${var}
/home/ihssan/mise/fichier.txt
$ echo ${var##*/}
fichier.txt
$ basename ${var}
fichier.txt
$