Jump to content

Put Himself Out of Business With One Line of Bad Code


Recommended Posts

Posted (edited)

rm -rf

The results were not what he expected.

But perfectly well.

A Unix/Linux shell is for the tough ones only cheesy.gif

Anyone care for a Windows equivalent? biggrin.png

always backup your data.

thumbsup.gif

And please don't leave it on a connected media.

Edited by KhunBENQ
Posted

rm -rf

The results were not what he expected.

But perfectly well.

A Unix/Linux shell is for the tough ones only cheesy.gif

Anyone care for a Windows equivalent? biggrin.png

always backup your data.

thumbsup.gif

And please don't leave it on a connected media.

Would be nice to use "rm -rf," and delete whole mo.. threads on this forum. giggle.gif

Posted

Lol... Can sympathise.

Once missed the "." on an "rm - r ./*" due to a dodgy keyboard and took a few too many seconds to realise and ctrl+c.

Did get the server back alive and ran for a year after!

Posted

okay, who is in the server business and never did something very very stupid please raise your hand !

...

thought so.

the guy's primary fault was, contrary to what is written on dailydot, to not have made a clean backup and a backup of the backup.

we all do some pretty stupid stuff from time to time due to tiredness or outright stupidity, but what saves everyone are backups.

the guy was probably lucky that by nuking everything he probably also shot down his OS, so that all they had to do to recover the lost date was to reconstruct the file allocation table. that's what I suspect... or he had forgotten that he still had another backup somewhere.

Posted

Back in the day, I forgot to remove a comment from a JCL job late one night when I was seeing double, before transmitting it to our US servers; it meant that our accounts department had to spend the whole of the next day making adjustments for my error.

Fortunately they were really nice about it, probably down to me plying them with chocolates (daytime) and beer (nighttime) which seemed to make my abject apology seem more acceptable.

I never made the same mistake again though.

biggrin.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.



×
×
  • Create New...