Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

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

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

4 Answers 4

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.

share|improve this answer

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.

share|improve this answer

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

share|improve this answer

It is probably an alias

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.