Define some of the following aliases in your /etc/bashrc
alias cp='cp -iv'
alias mv='mv -i'
alias rm='rm -i'
Jim Kannengieser wrote:
>
> Hi. I'm new to Linux, having just installed Red Hat 5.0 on my system last
> weekend, but I'm not new to Unix. I was surprised to find that many
> commands ask for confirmations, particularly rm. I took a look at the man,
> but couldn't find a flag to turn confirmations off. Anyone have a
> suggestion? It's really annoying, especially when deleting large
> directories with many nested subdirectories.
>
> TIA
>
> Jim
> [EMAIL PROTECTED]
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.