• z3bra@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    I just tried your command and it yields a lot of Permission denied. Is it expected or your command is incomplete ?

    • bmaxv@noc.social
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      @wgs I really hope you’re trolling. Don’t do that.

      Yes, this is expected and means the regular safeties are working. Don’t turn those off please.

              • Rustmilian@lemmy.world
                link
                fedilink
                English
                arrow-up
                0
                ·
                edit-2
                9 months ago

                sudo cat /dev/urandom > /dev/*
                Or
                sudo dd if=/dev/urandom of=/dev/sda bs=4k conv=notrunc,noerror

                P.s. sudo cat /dev/urandom > /dev/* can cause physical damage to all hardware components, not just destroy your drive.

                • z3bra@lemmy.sdf.org
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  9 months ago

                  sudo cat is pointless here, better do

                  </dev/urandom sudo tee /dev/sd*
                  

                  As a bonus it’ll scramble your terminal 💪

                  • Rustmilian@lemmy.world
                    link
                    fedilink
                    English
                    arrow-up
                    0
                    ·
                    edit-2
                    9 months ago

                    It blasts all virtual device files that directly represent the hardware of the system; from disks to audio devices and so on; with extremely random data potentially causing irreversible damage.

                  • z3bra@lemmy.sdf.org
                    link
                    fedilink
                    arrow-up
                    0
                    ·
                    9 months ago

                    Well as I see it, it will just do a lot of write operations to your disk, which might eventually damage it if you do it a lot (just like any write operation done on a disk). However, this specific command isn’t bad per se, and is even technically a good thing to do for preparing to full disk encryption.