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

Re: cp -f still prompts - why?



Maybe that cp alias's -i overrides -f.

You'll have to:

/bin/cp -f foo1 foo2

Therefor bypassing the aliases.  Type 'set' to see your aliases.  rm is the
same way for protection.
-eric wood


----- Original Message -----
From: "Jerry Winegarden" <jbw duke edu>
> 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?






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