[Clug-tech] "Safe" rm

Mark Carlson carlsonmark at gmail.com
Sun Sep 28 10:38:06 PDT 2008


Saw an interesting utility today:

http://code.google.com/p/safe-rm/

It's a wrapper for "rm" that checks a .conf file for directories that
shouldn't be removed.  For example, accidentally entering "rm -rf /"
or /usr or /usr/lib or some other such disasterous command would be
averted.

If you're new to the command line, and/or wary of making mistakes
(say, on a small keyboard where you keep hitting enter by accident...
EeePC....) this might be useful for you.

-Mark C.



More information about the clug-tech mailing list