• kali_fornication@lemmy.worldOP
      link
      fedilink
      arrow-up
      27
      arrow-down
      1
      ·
      1 month ago

      i ctrl+c my fucking face off when that happens.

      oh and in case y’all can’t read it, the command is cat * in /bin

    • Geometrinen_Gepardi@sopuli.xyz
      link
      fedilink
      arrow-up
      7
      ·
      30 days ago

      I’ve been meaning to tinker with Brfs. Is the idea that snapshots live on a separate volume so you can always recover a messed up system?

  • plsnerf7@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    30 days 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…

    • shoki@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      29 days ago

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

  • B-TR3E@feddit.org
    link
    fedilink
    arrow-up
    7
    ·
    30 days ago

    rm -rf is always right. No matter where. Supposed, of course, you are root.

    No discussion. I am root! I am always right!

  • jimerson@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    30 days 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
    6
    ·
    29 days 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
      5
      ·
      29 days 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 ~

  • UnfortunateShort@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    30 days ago

    I recently noticed that the logging framework I use does not limit the log’s length. I don’t know how exactly I filled the memory so quickly, but I did