[Hudlug] the simplest things

Paul Brook hudlug at mailman.lug.org.uk
Wed Apr 2 18:52:01 2003


On Wednesday 02 April 2003 3:54 pm, Andy Macdonald wrote:
> Sometimes the simplest things defeat me ... I've got a Redhat 7.1
> installation where the cp command always asks me to confirm overwriting,
> which I would like to turn off. The info page shows an option to turn
> this on, but not to turn it off. I thought maybe an alias was set up - my
> .bashrc refers to /etc/bashrc, which I can't understand but doesn't seem
> to refer to cp at all. Any tips?

Look in /etc/profile.d/alias.sh, comment out the "alias cp=..." line.
That's where it is on RH8 anyway, i don't imagine it's moved far.

Paul