Today I just accidentally realized that write l will do same like ls except trailing slash for directory.

Im failed to find any detailed of this command.

link|improve this question
feedback

migrated from stackoverflow.com Mar 19 '11 at 15:07

This question came from our site for professional and enthusiast programmers.

4 Answers

l is not a command on its own, it calls ls with some custom command-line arguments. What these are, and if l is defined at all depends on your distribution.

Thus, which will not help you. See your .bashrc for a definition or type alias l.

link|improve this answer
feedback

It is probably an alias

link|improve this answer
feedback

Try which l. This is probably a shell alias set up in a shell configuration file.

link|improve this answer
feedback

If you do not know where a command is located at, use the shell builtin type:

type l

This would give something like:

l is aliased to `ls -CF'

If you're using bash as shell, these aliases are often defined in the ~/.bashrc file.

For more information about this shell builtin, run help type.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown