How to Kill a Linux/Unix System and Live to Tell the Tale | Linux Today

How to Kill a Linux/Unix System and Live to Tell the Tale

Written By
Web Webster
Web Webster
Apr 17, 2009

“Notice there is a space between the slash “/” and the asterisk
“*”. I had pressed enter and eventually realized it was taking
longer than I expected to remove what I thought I was removing,
should have been about 2 seconds. By the time I understood my error
and canceled the command almost all of /etc was gone. For you
command line novices I will explain what I did wrong in the command
used. I basically told the remove command, “rm”, to delete
everything recursively in both “olddirectory/” and the current
working directory by adding that unintended space after the slash
followed by that asterisk. Yes, that is A Very Bad Thing as the
/etc directory tree is a critical system directory under Unix and
GNU/Linux.

“Did this kill the system? Well, yes and no. As long as I did
not reboot the system I was okay. Had I made the mistake of
rebooting the system I would have had more problems recovering than
I cared to have. The Unix system happily churned along with an
empty /etc directory and I was able to copy all the company data
off the server to a PC on the LAN, including the Quickbooks file
that had all the accounting data in it. Then I could decide on
staying with SCO, which was starting to make noises against
GNU/Linux, or move to something else. I decided to move to FreeBSD
on the file server and did so.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.