//View Tip #871
» iso2cd
» Counts files in the current directory and subdirectory
» Copy and paste from the command line
» ssh proxy forwarding
MJB
Similar Tips
» List non-system users» iso2cd
» Counts files in the current directory and subdirectory
» Copy and paste from the command line
» ssh proxy forwarding
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
and want use ls without that --color option
$ \ls
alias ls='ls --color=auto'
and want use ls without that --color option
$ \ls
Comments
Add your comment
#1
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
i believe you are a good writer, but have you erver thought to write some special artcals for peopel who likes shopping very much.
Posted 2010-07-15 22:53:22

