...making Linux just a little more fun!
Martin J Hooper [martinjh at blueyonder.co.uk]
Im sure you guys have done at least one of the things on this list...
http://www.cavecanen.org/linux/humour/horrorstories.txt
Neil Youngman [ny at youngman.org.uk]
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
Ben Okopnik [ben at linuxgazette.net]
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 *
Mahesh Aravind [ra_mahesh at yahoo.com]
--- 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/