In <[EMAIL PROTECTED]>, Ryan Sommers <[EMAIL PROTECTED]> typed: > Edwin Groothuis wrote: > >On Sat, Oct 02, 2004 at 11:19:28AM +0300, Giorgos Keramidas wrote: > >I'm not so much worried about 'rm -rf /', but I'm more worried about > >"rm -rf *" in my home directory. It happened once because I was too > >happy switching directories before realising what I was doing in > >the wrong directory. > If you use tcsh for your shell add: > > set rmstar > > to your .cshrc file. Then anytime you use '*' as an argument to rm it > will ask you if you are sure you want to do that.
zsh does this by default as well. <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"