Sudo rm -rf .

    • prettybunnys@piefed.social
      link
      fedilink
      English
      arrow-up
      10
      ·
      5 hours ago

      Production system, first day, did it at / and it wasn’t until I saw /bin scrolling by that I realized my mistake.

      Luckily it was a stateless system and a reboop brought it back but i learned a valuable lesson that morning.

    • jaybone@lemmy.zip
      link
      fedilink
      English
      arrow-up
      4
      ·
      5 hours ago

      I got into this bad habit of trompsing around as root on our dev systems at work because who gives a shit we abuse and reprovision those systems all the time.
      But then I find myself at home on one of my home servers or desktops fumbling around as root. Because I don’t want to constantly run sudo. Fortunately nothing bad has happened, bad enough to be memorable anyway, in the last 20 years or so. I guess I’m still pretty careful. Or lucky.