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.


True - never understimate the power of cats, children and spouses. and never type "su" when you've had a few.


Sir Robin

--
"Certitude is possible for those who only own one encyclopedia."
- Robert Anton Wilson

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to