Re: cp interactive by default

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

 



At 10:03 PM +0100 10/11/05, Paul Smith wrote:
>On 10/11/05, Brian D. McGrew <brian@xxxxxxxxxxxxx> wrote:
>> I have an entry in ~/.bash_alias
>>
>> cp () {
>>     /bin/cp -i $*
>> }
>>
>> So when I call cp it's a shell function that executes the above command
>> and I can override it with an absolute call of /bin/cp.
>
>Thanks, Brian. I have just created a ~/.bash_alias with the same entry
>than yours, but no success, i.e., the command cp is still
>non-interactive (by default).

On my FC3 system, I have ~/.bash_profile, which sources ~/.bashrc and then
sets up a couple of things; and ~/.bashrc, which sources /etc/bashrc.  I
don't have a ~/.bash_alias file, and man bash doesn't show such a file.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux