Protection from "rm *"
Wm E. Davidsen Jr
davidsen at sixhub.UUCP
Mon Oct 8 11:42:35 AEST 1990
This discussion went by once before... the "#" file trick with funny
permissions doesn't work as well as creating a files called -i (touch
./-i). The reason is that even if you type "rm -f *", which bypasses the
asking on the readonly file, the filename -i at the start will force
interractive mode, you can look at the prompt and test your favorite
expletive, then abort. If you ever really want to blow everything away
you can "rm -f ./*".
--
bill davidsen - davidsen at sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
sysop *IX BBS and Public Access UNIX
moderator of comp.binaries.ibm.pc and 80386 mailing list
"Stupidity, like virtue, is its own reward" -me
More information about the Comp.unix.misc
mailing list