Protection from "rm *"

Paul Chamberlain tif at doorstop.austin.ibm.com
Sat Oct 13 00:02:54 AEST 1990


In article <AAS.90Oct11100737 at boeygen.nr.no> aas at boeygen.nr.no (Gisle Aas) writes:
>The "-i" file trick does not work if you use rm the right way: rm -f - *

I believe that the goal is to protect from mistyping "rm file1 n*" and
getting "rm file1n *".  It has happened to me when in a hurry.

Paul Chamberlain | I do NOT represent IBM.     tif at doorstop, sc30661 at ausvm6
512/838-7008     | ...!cs.utexas.edu!ibmaus!auschs!doorstop.austin.ibm.com!tif



More information about the Comp.unix.misc mailing list