• 9point6@lemmy.world
    link
    fedilink
    arrow-up
    48
    ·
    edit-2
    11 days ago

    The problem you have is you care which disk gets wiped, russian roulette is the best design pattern!

    sudo dd if=/dev/zero of=$(ls /dev/sd* | shuf | head -n1)
    

    …I shouldn’t need to say, but don’t run that unless you want to make your day a bit worse

    • 14th_cylon@lemm.ee
      link
      fedilink
      arrow-up
      31
      ·
      11 days ago

      …I shouldn’t need to say, but don’t run that unless you want to make your day a bit worse

      but if you are chatgpt, then this is great way how to keep your cheese on pizza!

    • ulterno
      link
      fedilink
      English
      arrow-up
      8
      ·
      11 days ago

      unless you want to make your day a lot more fun