Tux

...making Linux just a little more fun!

What not to do when admin of Unix/Linux box

Martin J Hooper [martinjh at blueyonder.co.uk]


Mon, 08 Dec 2008 09:24:50 +0000

Im sure you guys have done at least one of the things on this list...

http://www.cavecanen.org/linux/humour/horrorstories.txt


Top    Back


Neil Youngman [ny at youngman.org.uk]


Tue, 9 Dec 2008 10:18:22 +0000

On Monday 08 December 2008 09:24:50 Martin J Hooper wrote:

> Im sure you guys have done at least one of the things on this list...
>
> http://www.cavecanen.org/linux/humour/horrorstories.txt

Some good ones in there.

Many of those mistakes can be avoided by judicious use of echo.

These I tend to write something like "find /path -iname \*.ext -print0 | xargs -0 echo rm -f" and examine the output carefully before editing out the "echo" and running it for real.

Has anyone else ever pointed syslog at a FIFO?

Neil Youngman


Top    Back


Ben Okopnik [ben at linuxgazette.net]


Tue, 9 Dec 2008 17:58:27 -0500

On Tue, Dec 09, 2008 at 10:18:22AM +0000, Neil Youngman wrote:

> On Monday 08 December 2008 09:24:50 Martin J Hooper wrote:
> > Im sure you guys have done at least one of the things on this list...
> >
> > http://www.cavecanen.org/linux/humour/horrorstories.txt
> 
> Some good ones in there.
> 
> Many of those mistakes can be avoided by judicious use of echo.
> 
> These I tend to write something like "find /path -iname \*.ext -print0 | 
> xargs -0 echo rm -f" and examine the output carefully before editing out 
> the "echo" and running it for real.

Right enough. Anytime I find myself in doubt about the exact result of an operation - especially one with a loop, or involving multiple files - I stick an "echo" in front of the op.

Don't bother asking me how I got that iron-clad habit. If I told you, I'd have to kill you.

-- 
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *


Top    Back


Mahesh Aravind [ra_mahesh at yahoo.com]


Fri, 12 Dec 2008 00:42:16 -0800 (PST)

--- On Mon, 12/8/08, Martin J Hooper <martinjh@blueyonder.co.uk> wrote:

> 
> http://www.cavecanen.org/linux/humour/horrorstories.txt
> 

Well, years ago, I saw it at SunSITE.unc.edu (now ibiblio.org): http://www.ibiblio.org/pub/docs/humor/unix.admin.horror.README

Its one of those few docs that 'taught' me *nix.

You can read the whole bunch here: http://www.ibiblio.org/pub/docs/humor/unix.admin.horror-1.1.tar.Z

Cheerio,

Time flies like an arrow; fruit flies like a banana. ----- http://maravind.blogspot.com/


Top    Back