On Thu, 2003-12-25 at 14:03, Kaj Haulrich wrote: > On Thursday 25 December 2003 16:09, Paul wrote: > > On 12/25/2003 04:43 PM, Christoph Eckert wrote: > > >Well, I never do a general ./* > > > > > >I always make ls -l and then tell rm to remove - for example - > > >textfile*.txt. > > > > > >I once deleted the content of one whole directory, and since > > >then I never did this stupid * stuff ;-) . > > > > That is _the_ way to learn... My way was the same way, except it > > was my $HOME. With subdirs... *grin* > > That is also when my paranoia with backups paid off! > > Paul > > Allow me to quote the legendary Civileme : > > <quote> > > rm -r /whateverdirectoryname/and/path -f > the -r is for recursive (i. e. descend into subdirectories) and the > -f is for force without asking, While > > rm -rf /whateverdirectoryname/and/path > > will work to the same effect, it is considered bad form. Imagine > that you type this far > > rm -rf / > > and then the household cat launches for your desktop and plops a fat > paw on the enter key. Your entire filesystem(s) are bye-bye, even > /mnt/windows_c if you happen to have one and it is writeable. > > Aside from having the household cat for supper, there is no > compensation, and of course even less when you fat-finger the enter > key yourself. Take it from someone who has committed that faux > pas. > > Civileme > > </quote> > > Merry Christmas all ! > > Kaj Haulrich.
Wow! I like it. I was typing 'rm /any/dir' and adding the '-rf' switches afterward to get 'rm -rf /any/dir'. Thanks a lot, Kaj. -- Adolfo A. Bello B. <[EMAIL PROTECTED]> Make your posts more effective. Learn how at http://mandrake.vmlinuz.ca/bin/view/Main/MandrakeMailingListEtiquette
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
