Protection from "rm *"

Bill Vermillion bill at bilver.UUCP
Fri Oct 12 23:50:02 AEST 1990


In article <1990Oct11.184004.9353 at nntp-server.caltech.edu> gwoho at nntp-server.caltech.edu (g liu) writes:
>
>a good way to protect people from accidental "rm *" is to type "rm /bin/rm"

Well you can't do that on SysV type systems.  You will get an error message
with "Text file busy".  It won't removed itself, because it is in use,
trying to remove itself ;-)

-- 
Bill Vermillion - UUCP: uunet!tarpit!bilver!bill
                      : bill at bilver.UUCP



More information about the Comp.unix.misc mailing list