Reply to post: Re: Sounds Really Clever?

Little warning: Deleting the wrong files may brick your Linux PC

CrazyOldCatMan Silver badge
Facepalm

Re: Sounds Really Clever?

> stupidity of using the rm -r / as root.

Did that many, many years ago (slakware 0.99pl15, downloaded to floppies using a friend's work connection).

At 5am (having started building it at 9am) having got everything (auto-dial, email, nntp) working correctly, thought "I'll just clean it up a bit"..

Meant to go into the /tmp directory and clean it out and ended up putting a space between the / and the tmp.

Turns out that rm -rf / tmp is a touch different than rm -rf /tmp - who knew?

Fortunately I managed to hit ctrl-c before the rm ate the /etc directory so it was just a case of re-running the install as an upgrade and preserving current settings. But I did that *after* about 10 hours sleep.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon