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

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



On Mon, 28 Jan 2008 14:25:27 -0500
Ignacio Vazquez-Abrams <ivazqueznet@xxxxxxxxx> took out a #2 pencil
and scribbled:

> [ignacio@localhost ~]$ alias foo=bar
> [ignacio@localhost ~]$ foo
> bash: bar: command not found
> [ignacio@localhost ~]$ "foo"
> bash: foo: command not found
> [ignacio@localhost ~]$ \foo
> bash: foo: command not found

Interesting. Here's an example of what I see on my system with cp
aliased to cp -i

[prata@crane ~]$ which cp
alias cp='cp -i'
        /bin/cp
[prata@crane ~]$ touch test.tst
[prata@crane ~]$ "cp" -rf test.tst  test.keytest

Thanks for that information, I need to read the howto on bash
scripting again! *blinks*

Thanks!
-- 
ethericalzen@xxxxxxxxx
Life is a prison, death is a release
_______________________________________________
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