it might be safer to use "\ls -l" instead
Under almost all circumstances, the backslash would not be needed. On the interactive command line, the backslash prevents alias expansion (such as "ls" —> "ls --color=auto", which then produces the ANSI escape sequences), because alias lookup happens before backslash escapes are processed, and there is no alias for "\ls".
However,
In reply to Re^2: Unix shell ls vs readdir
by almut
in thread Unix shell ls vs readdir
by jffry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |