RÉPONSE COURTE : comprendre ce que fait exactement cet alias, vous pouvez consulter le ~/.bashrc
fichier et recherchez le terme "alias l=
". Ce n'est rien d'autre que ls -CF
RÉPONSE LONGUE Un bon moyen d'inspecter ce qu'est une commande :
type l
Si c'est un programme ou un script, il vous donnera son emplacement, si c'est un alias, il vous dira à quoi il est alias, si c'est une fonction, il affichera la fonction; sinon, il vous dira s'il s'agit d'un élément intégré ou d'un mot-clé.
Exemples :
$ type l
l is aliased to `ls -CF'
$ type find
find is /usr/bin/find
$ type connecthome
connecthome is hashed (/usr/local/bin/connecthome)
$ type grep
grep is aliased to `grep --color=auto --binary-files=without-match --devices=skip'
$ type hello_se
hello_se is a function
hello_se ()
{
echo 'Hello, Stack Exchangers!'
}
$ type type
type is a shell builtin
$ type for
for is a shell keyword
$ type nosuchthing
-bash: type: nosuchthing: not found
$ l --help
l: command not found
Il semble que vous ayez un alias configuré dans votre environnement. Peut-être avez-vous hérité d'un .profile
, .bashrc
ou similaire contenant quelque chose comme alias l='ls -F'
.
-F, --classify
append indicator (one of */=>@|) to entries
Essayez which l
et alias
pour retrouver sa définition.
CORRIGÉ :l
est un alias
pour ls -CF
(Je ne suis pas vraiment sûr) dans le .bashrc
par défaut sous Ubuntu
Vous pouvez simplement taper alias
pour vérifier tous les alias. Il y serait mentionné.