1. Home
  2. Buzz
  3. Life
  4. Man erases his own company after

Man erases his own company after code typo, Twitter ROFLs like never before

London: In what could be termed as a bizarre incident, a man accidently deleted his entire company along with the websites of his clients after he made an error in typing a code on his
India TV Buzz Desk April 15, 2016 20:38 IST
India TV Buzz Desk

London: In what could be termed as a bizarre incident, a man accidently deleted his entire company along with the websites of his clients after he made an error in typing a code on his computer server.

Marco Marsala was running a web hosting company that had over 1535 customers. It monitored the servers and internet connections on which the files for websites are stored.

He wrote on a forum for server experts 'Server Fault' yesterday, that he was stuck after accidentally running destructive code on his own computers, including the websites of his customers.

The code, "rm -rf", deleted everything and blocked the helpful warnings that usually inform the user that something is being deleted. He hadn't specified what he wanted deleted, so it erased everything.

"I accidentally ran, on all servers, a Bash script with a rm -rf {foo}/{bar} with those variables undefined due to a bug in the code above this line," he said.

He confirmed that the code had even deleted all of the backups that he had taken as the drives that were backing up the computers were mounted to it, the computer managed to wipe all of those too.

As soon as the news hit the online portals, social networking site Twitter didn't take much time to come into action.

The micro-bloggers, in their trademark style, soon started trolling Marco and the unfortunate incident that occurred.

Here are some of the Tweets that are sure to tickle your funny bone:

At least you're having a better day than this guy. Man accidentally 'deletes his entire company' with one command. https://t.co/QRj90zcxPX

— Aatish Bhatia (@aatishb) April 14, 2016

How to 'DELETE' your entire company with one line of bad code O_____O https://t.co/CT3y8aJ0J9 pic.twitter.com/YZeHShQVVp

— David Bonilla (@david_bonilla) April 15, 2016

The most destructive use of rm -rf ever? https://t.co/OtjXX6zPMi

— David Akerman M0RPI (@daveake) April 14, 2016

The old coding paean to nihilism: rm -rf. Oooops. https://t.co/AGHL1REA1t

— Sandi Logan (@SandiHLogan) April 14, 2016

Oh crap. “You don't need technical advice, you need to call your lawyer.” https://t.co/DHoZUpiWX0

— Janne Wass (@JO_Wass) April 14, 2016