Tugger the SLUGger!SLUG Mailing List Archives

[chat] Re: [SLUG] Shell scripting challenge (not)


speaking of commands not to run, try this when you're bored:

exec < /dev/random

(bonus points to anyone who can explain what this does, in haiku :)

K.

On Fri, Nov 02, 2001 at 10:35:29PM +1100, Paul Cameron wrote:
> On Fri, Nov 02, 2001 at 10:33:53PM +1100, Jeff Waugh wrote:
> > <quote who="Tony Green">
> > 
> > > tgreen@animal:~$ du -s test/
> > > 21806   test
> > > 
> > > tgreen@animal:~$ du -s test2/
> > > 21806   test2
> > > 
> > > Happy to hear any alternatives or comments....
> > 
> > test2 was closer to the outer track of the hard disk platter! YOU CHEATED,
> > MR. GREEN!
> 
> I now casually allocate arrays larger than the physical memory my first
> computer owned. And now there's serious discussion about saving a few ms
> on an operation you'd perform once every couple of years??
> 
> Hey, here's a command for you:
>   rm -rf ~
> 
> Not only will it remove the files you wanted. it'll remove some others
> you forgot about as well.
> 
> Paul.
> 
> PS. no, don't run that command.
> 
> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug