2009/3/23 Dale <rdalek1...@gmail.com>:
> Oh, OK.  <Dale waves hand over head.>  If it is set up to add that
> option, how do you tell it not to use it?

alias ls='/bin/ls --color'
alias l='ls -l'

With these aliases in your .bashrc (or whatever is appropriate in your
environment), you can now use 'ls' and 'l'. Of course, you already had
'ls' (namely /bin/ls).

If you simply type 'ls' then you are using the alias and you get
colour output. If you don't want colour output you use '/bin/ls' (the
actual binary). Typing 'l' basically runs '/bin/ls --color -l'. If you
don't want that then you don't use 'l'.

Reply via email to