restoring deleted files

Alex Zbyslaw xfb52 at
Mon Jun 12 10:12:02 UTC 2006

Denny White wrote:

> I hate it & it's aggravating, but it's saved me several
> times from another restore, but in .bashrc I have:
> alias rm='rm -i'
This is good advice.  You can also alias mv and cp similarly, and also 
set noclobber (tcsh) or its equivalent so that > etc do not overwrite 
existing files.

By using file name expansion (TAB, ^D etc) you can also check whether 
file names exist already or not.


More information about the freebsd-questions mailing list