Just a note The -r switch has been depricated and replaced by the -R. Why, so that you don't accidently type -r. This way it takes an extra finger. It's saved my butt a number of times when I'm tired. nothing like typing rm -r return /somedirectory instead of rm -r /somedirectry return. James On Sun, 16 Sep 2001 19:06:56 +0200 civileme <[EMAIL PROTECTED]> wrote: > On Sunday 16 September 2001 14:56, Felix Miata wrote: > > [EMAIL PROTECTED] wrote: > > > I know it saves a keystroke, and that is PRECISELY the reason I use > -R > > > instead of -r; as I explained in my posting, using "rm -Rf /dir" is > NOT > > > something to be taken lightly, and that is why I got into the habit > of > > > -R, so that I HAD to do one extra keystroke, and therefore have one > more > > > chance to think of what I am doing and change my mind. > > > > Anyone interested in saving keystrokes can save a whole lot more by > > typing these first thing upon login: > > > > mc > > > > Once you do that, you find the dir you think you want to remove and > hit > > enter. Now you can see whether what's in there is what you really do > > want to rm. Hit enter again, then F8, confirm, and it's gone. > > > Heeheehee > > Yep > decide you are going to type > > rm -rf /.somercd/messages/ > > and you get this far > > rm -rf / > > and the housecat leaps onto the desk and tromps on the 'enter' > key. > > Could it be that briefly through your mind flashes a change in the > dinner > menu before you begin reiterating every crime the cat ever committed and > exploring all the unlikely ancestries the cat may have had? Probably. > > Well I don't like the extra keystroke myself so, > > rm -r /.somercd/messages/ -f > > is my approach. > > Civileme > >
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com