36

It officially happened...
Accidentally used rm -rf /*
(Actual command was a bit more involved, but it did pretty much the same thing)

Laptop doesn't boot now. Saved my home directory though.

Hooray.

Comments
  • 4
    At least your dotfiles didn't get hurt.
  • 3
    I feel for ya... I once accidentally blew out my entire home directory with "rm -rf Downloads *" instead of "rm -rf Downloads/*"
  • 3
    @jayMcD
    Ever heard of tab-completion?
  • 1
    The bad news is: you will eventually do this again :/ backup regularly
  • 2
    @Linux Yes... tab complete "Downloads" then hit space instead of "/" because brain no work good... :/

    Ans yes, I'm fully aware that the slash is included when you tab complete a directory name, but I somehow still managed to do that...
  • 1
    What was the full actual command? I like to learn from others mistakes.
  • 1
    @Diactoros was trying out bedrock Linux, which allows you to use multiple package managers without them conflicting by sandboxing them... I think.

    Installed a minimal Ubuntu, and wanted to delete it to install a different version.

    rm -rf /bedrock/strata/*

    I think either rm followed a symlink, or I had my Arch installation mounted in there as well without noticing. And suddenly it was hallway destroyed before I noticed.

    Good times. Deleted that Ubuntu strata too though, so there's that.
Add Comment