[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Telnet Commands



on 7/30/00 5:48 PM, Debbie Doerrlamm at webmaster@xxxxxxxxxxxxxx wrote:

> rm -r

Be careful with that thing!  Someone is going to loose an eye!

'rm -r' can be very dangerous, especially when you are a tab completion
fiend like me.  Make damn well and sure that you are deleting the right
thing, as the 'r' flag means recursive.  That is the same as the deltree
command from dos, only if you're like me, you've got the safety turned off
and it won't prompt you for a 'y' or 'n' (I think that while redhat ships
with bash in weenie mode with a couple of little commands that prompt you
after every rm command, Cobalt does not).

So.  If you want to use a recrusive rm that is cool, just be careful with
it.

If you are just deleting a directory that is empty, rmdir is a much safer
way to go.

-k