• plsnerf7@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    8 months ago

    Last week “I was trying to fix something” and made some bad decisions. Long story short, wrong command in the right directory the screen flashed like in this meme💀. Well, I liveUSB to reinstall the whole thing. Then I remembered that I installed Cachy with BTRFS snapshots. Bam Fucking magic, it’s like nothing happened… I call it the Ohh shit, Ctrl-Z OS troubleshooter. Yep I’m new in linux…

  • Truscape@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    “The right command in the wrong directory can make all the difference in the world. So rise and shine, Mr. Tux. Wake up, and check the log files…”

      • Truscape@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        That was intentional :)

        Apart from the initial “Rise and Shine” before the first sentence, this is a direct play on G-man’s intro speech from HL2.

    • shoki@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      wondering why firefox hangs as you paste a 30MB text file into an online diff tool

  • jimerson@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    8 months ago

    Made that mistake last week. Luckily it was just a chmod and not a rm. Stomach did a flip regardless.

  • stupidcasey@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    8 months ago

    I was trying to sudo rm -rf ./ Once and missed the / so I just used rm -rf . And this was before they added --no-preserve-root as a default so it just ripped through my entire drive.

    • beegnyoshi@lemmy.zip
      link
      fedilink
      arrow-up
      0
      ·
      8 months ago

      sudo rm -rf ./ and sudo rm -rf . are, as far as I know, the same command. Did you mean that you dropped the . and ran sudo rm -rf /?

      Fortunately for me, this never happened to me, but I have gotten pretty close to running rm -rf ~ after mistakenly creating a directory caller ~