Sudo rm -rf .

    • prettybunnys@piefed.social
      link
      fedilink
      English
      arrow-up
      17
      ·
      4 days 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
      5
      arrow-down
      1
      ·
      4 days 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.

  • ghodawalaaman@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    3 days ago

    I found this magical command to send 50kb of random text data to meta’s server to fill up their database with garbage data. I don’t know how to do it on massive scale but at least I am doing my part by running this command 24/7 :)

    while true;  do echo "$(openssl rand -hex 500000)" | netcat instagram.com 80 & disown; done;
    
  • mavu@discuss.tchncs.de
    link
    fedilink
    arrow-up
    5
    ·
    3 days ago

    I once read somewhere 30 years ago to literally sit on your hands when doing stuff like that.

    I have followed this advice since, and confused a lot of co-workers over the years when i stop what i’m doing and sit on my hands while i re-read what is on the screen.

    humans make mistakes, and sometimes mistakes are really really not what you want. everything that helps is a good thing :)

  • palordrolap@fedia.io
    link
    fedilink
    arrow-up
    12
    ·
    4 days ago

    There’s an ancient UNIX copypasta that’s basically the plot of this comic, but it’s troublingly hard to find the original online.

    Here’s one version I found: http://www.anvari.org/fun/Web_Tina/CREATION.html

    I don’t remember “technocrat” being part of the original, but it wouldn’t be the first time my recollection has been wrong.

  • Rusty Shackleford@programming.dev
    link
    fedilink
    English
    arrow-up
    8
    ·
    4 days ago

    Don’t forget to add the -v to see the apocalypse unfold in real-time!

    Alabado sea El Omnissiah.

    • El Señor Archmagos Miguelito Malparido Hijo de Puta VII
  • JasonDJ@lemmy.zip
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    4 days ago

    Silly god! You just had to chattr -i !

    “All-knowing” my ass. Half-baked deity can’t even gentoo.

  • LordCrom@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    4 days ago

    Well, you can’t call yourself a computer expert until you erase your entire drive or make it unbootable at least 3 times.

    • ttyybb@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      Well I’m 2/3 the way to being a computer expert (Technically I would be at 3/3 at least, but taking bad updates is a repeate and doesn’t include me messing around with stuff)