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

Re: scripting question



On Tuesday 15 April 2003 05:13 pm, Scott Henson wrote:
> On Tue, 2003-04-15 at 20:40, nate wrote:
> > rm -rf *
>
> Do me a favor.  Try this on your system as root.  Then walk a way and
> come back an hour later.  Youll need another system to tell us what
> happened cause yours will be hosed.  This command will generally delete
> your entire file system.  Trust me, Ive done a form of it before(mv *).

I have used rm -rf *  as root before and it did not kill my system.

If you are sitting in /  then yes, I can see how it would take you down hard.

rm -rf  does not seem like good practice but some of us can't do the 
kind of advanced command that Alvin posted earlier.

Andy



Reply to: