Man Deletes Entire Company with One Line of Code

The original story, says its creator, was a viral marketing scheme to promote his server management company.

  • Published 17 April 2016


A man deleted his entire company with one line of code.

sudo rm -rf

Collected via Web, April 2016



A man who asked for help on a server forum, claiming that he had deleted his entire company with just one line of code, now says the whole thing was a stunt.

Marco Marsala had originally posted the following plea on a question and answer site for system and network administrators.

I run a small hosting provider with more or less 1535 customers and I use Ansible to automate some operations to be run on all servers. Last night 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. All servers got deleted and the offsite backups too because the remote storage was mounted just before by the same script (that is a backup maintenance script).

His situation (i.e., that he had deleted all of his serves and backups with an errant rm command) was so awful, and so believable, that his post received widespread attention, particularly from users who pointed out that he was at fault for not properly backing up his files.

The sudo rm -rf / command is famously destructive, but — happily for Marsala’s clients — this particular situation was a hoax.  Marsala admitted to making up the scenario in order to promote his small company, which (naturally) provides outsourced server management services.

“It was just a joke,” Marsala told Italian news outlet La Repubblica (translated):

The command that I mentioned in the article is harmless but it seems that almost no one has noticed … With the inaccuracies that are in the online comments I could write a book.

The Ansible tool prevents these errors. Almost every serious administrator uses it, but among those who answered, no one seemed to know that, otherwise they would know that what I have described could not happen.

Marsala said he is also working on a “Unix for Dummies” book, and that the situation he described actually did happen, but to someone else “before 2006.”
Since 1994
A Word to Our Loyal Readers

Support Snopes and make a difference for readers everywhere.

  • David Mikkelson
  • Doreen Marchionni
  • David Emery
  • Bond Huberman
  • Jordan Liles
  • Alex Kasprak
  • Dan Evon
  • Dan MacGuill
  • Bethania Palma
  • Liz Donaldson
  • Vinny Green
  • Ryan Miller
  • Chris Reilly
  • Chad Ort
  • Elyssa Young

Most Snopes assignments begin when readers ask us, “Is this true?” Those tips launch our fact-checkers on sprints across a vast range of political, scientific, legal, historical, and visual information. We investigate as thoroughly and quickly as possible and relay what we learn. Then another question arrives, and the race starts again.

We do this work every day at no cost to you, but it is far from free to produce, and we cannot afford to slow down. To ensure Snopes endures — and grows to serve more readers — we need a different kind of tip: We need your financial support.

Support Snopes so we continue to pursue the facts — for you and anyone searching for answers.

Team Snopes