[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: cp -f still prompts - why?
- From: teg redhat com (Trond Eivind Glomsrød)
- To: redhat-list redhat com
- Subject: Re: cp -f still prompts - why?
- Date: 31 May 2001 12:53:26 -0400
Jerry Winegarden <jbw duke edu> writes:
> RH 7.0,
> cp -f foo1 foo2 still prompts if I want to overwrite foo2
> if it already exists.
>
> According to the man page, --force "never prompts"
>
> Same behavior on two different systems.
> Why?
Because "cp" is aliased to "cp -i", so you're effectively running
cp -i -f foo1 foo2
To get rid of the annoying messages for rm, cp and mv, just remove the aliases from root's .bashrc
--
Trond Eivind Glomsrød
Red Hat, Inc.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]