Re: /bin/rm

Richard Dawe <[email protected]>
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
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/ ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.