Re: question on "cp -f" on centos 5.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Alex White wrote:
On Mon, 28 Jan 2008 11:12:41 -0800 (PST)
"nate" <centos@xxxxxxxxxxxxxxxx> 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.

--
  Les Mikesell
   lesmikesell@xxxxxxxxx

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux