BE CAREFUL WITH rm -r! (was: Re: unerase (was Re: drawtree for Unix/Sun/curses?))

6600pete at hub.UUCP 6600pete at hub.UUCP
Fri Dec 8 06:59:53 AEST 1989


>From article <15418 at teraida.UUCP>, by jeffy at teraida.UUCP (Jeffrey Youngstrom):
> In article <3249 at hub.UUCP> 6600pete at hub.UUCP writes:
>>this perspective, is unerasure under UNIX a good thing? No. Just do
>>    alias rm rm -r

> 	Is there a chance you meant to say

> 	alias rm rm -i

>  ???

Certainly. I stand corrected. I never use -i, but I use -r a LOT. Must have
been typing force of habit.

This is an *important* point:

ALL: DO NOT USE rm -r UNLESS YOU KNOW EXACTLY WHAT IT DOES. rm -i IS SAFE,
rm -r CERTAINLY IS NOT! BE VERY CAREFUL WITH rm -r!

Gads. Another rookie UN*X mistake on my part. Just what I needed.
-------------------------------------------------------------------------------
Pete Gontier   | InterNet: 6600pete at ucsbuxa.ucsb.edu, BitNet: 6600pete at ucsbuxa
Editor, Macker | Online Macintosh Programming Journal; mail for subscription
Hire this kid  | Mac, DOS, C, Pascal, asm, excellent communication skills



More information about the Comp.unix.questions mailing list