[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /bin/rm
From: |
Richard Dawe |
Subject: |
Re: /bin/rm |
Date: |
Thu, 19 Dec 2002 20:15:27 +0000 |
Hello.
Richard Dawe wrote:
[snip]
> You could set up an alias for 'rm'. I have the following aliases in
> /root/.bashrc on my Linux box:
>
> alias cp='cp -i'
> alias mv='mv -i'
> alias rm='rm -i'
>
> Indeed, even root makes mistakes sometimes. ;)
Just in case you aren't psychic (my reply was a bit, er, concise), '-i' means
interactive mode, so it will ask you about deleting/overwriting files for
rm/cp & mv.
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]