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

Re: scripting question



On Wed, 16 Apr 2003, Russ Pitman wrote:

> On Tue, Apr 15, 2003 at 09:13:41PM -0400, 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 *).
> > 
> > -- 
> > Scott Henson <debian-list@silvercoin.dyndns.org>
> > 
> 
> Every sysadmin is entitled to do this or the eqivalent just ONCE.

The one I did yesterday (and have done before which breaks the ONCE rule)
is rm -rf foo * where I meant rm -rf foo*  (foo was a tarball that I
unpacked so I did have two foo* to remove.  At least this time it was not
in a top-level directory.

-- 
Bill Moseley moseley@hank.org



Reply to: