Alex White wrote:
On Mon, 28 Jan 2008 11:12:41 -0800 (PST) "nate" centos@linuxpowered.net took out a #2 pencil and scribbled:
Curious question that is directly related to this. This did work on my system; however, I'm not sure if this is something one wants to be doing. If one were to type literally:
"cp" -fr somedir somefile ~/
Would this defeat the alias (in bash)?
Any quoting style: \cp "cp" 'cp' should keep the alias from expanding, as does specifying the full path: /bin/cp. But with quoting you sometimes have to be aware of how many times the line will be parsed.