//View Tip #871
Similar Tips
» Counts files in the current directory and subdirectory
» ssh proxy forwarding
» iso2cd
» Copy and paste from the command line
» List non-system users


Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
A '\' mark before a command will ignore aliases. For example, you have alias

alias ls='ls --color=auto'

and want use ls without that --color option

$ \ls

View Comments »


Add your comment

Comments are currently disabled
Brilliant, thanks.  You don't know how many times I've typed `grep --color=none` to overwrite my colored alias when redirecting output to a file or piping to another command.
Posted 2009-08-18 15:32:43
Commands in single quotes do the same thing. For example, 'cp' will copy without asking for confirmation if aliased to "cp -i".
Posted 2010-04-30 11:56:14
@MJB grep --color=auto is the alias you want, it AUTOmatically turns color off for redirects and pipes
Posted 2010-07-04 13:40:48

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit