-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 10 Jun 1999, John Aldrich wrote:
>
> Well, I just did something REALLY stupid:  "rm -rf * /mnt/floppy"
> while in my home directory. Not only did I nuke the floppy, I nuked
> EVERYTHING in my home directory, including every subdirectory. (didn't
> nuke . directories though, thank goodness! <G>) My boss (the "head
> geek" here at Chattanooga Online internet) says that qualifies me for
> the title "sysadmin." ;-) Oh, well...nothing serious lost. Just my
> mail spool and all my desktop shortcuts. Too bad there's not something
> like the "recover" command in Novell or the trashcan in Windows where
> you can recover stuff... :-)
> 

Oops... I've done stupid stuff like that before.... try this:

        $ find . -exec `rm -Rf {}` \;

Or somethign like that... I don't remember the exact syntax, but the point
is that the -name is left out.  Oops.  That sends EVERYTHING to rm.  Even
.* dirs and files.

Well, I learned from that one.

- ------------------------------------------------------------------------
Michael B. Trausch
President of Linux Operations, ADK Computers     http://adk.hypermart.net/
- ------------------------------------------------------------------------
       PGP Public Key is available at a Key Server near you, or at:
                  http://wcnet.org/~mtrausch/pubkey.txt
- ------------------------------------------------------------------------
ADK Computers, Walbridge Office                E-Mail:  [EMAIL PROTECTED]
- ------------------------------------------------------------------------

To fall in love is to create a religion that has a fallible god. - JLB

Life is a comedy for those who think and a tragedy for those who feel.

Love is friendship set on fire. - French Proverb

Customer: I'm running Windows '98 Tech: Yes. Customer:  My computer isn't
working now.  Tech:  Yes, you said that.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.7 (GNU/Linux)
Comment: Made with PGP4Pine

iD8DBQE3YCbYBtYAauOptokRAtFgAKDEwQ+vYdTagk956xJbVwdp35feUwCdG2Oq
a2HXw5KyUVlLTg0eEI8km7A=
=x35O
-----END PGP SIGNATURE-----

Reply via email to