oriond@lemmy.ml to Asklemmy@lemmy.ml · 1 year agoWhat is the most destroying command you can type in the Linux terminal?message-squaremessage-square142fedilinkarrow-up1164arrow-down19
arrow-up1155arrow-down1message-squareWhat is the most destroying command you can type in the Linux terminal?oriond@lemmy.ml to Asklemmy@lemmy.ml · 1 year agomessage-square142fedilink
minus-squareLKC@sh.itjust.workslinkfedilinkarrow-up74arrow-down1·1 year agoIf you allow root privileges, there is: sudo rm -rf --no-preserve-root / If you want to be malicious: sudo dd if=/dev/urandom of=/dev/sdX or sudo find / -exec shred -u {} \;
minus-squareShadow@lemmy.calinkfedilinkarrow-up40arrow-down1·1 year agoLet’s extend a little and really do some damage for x in /dev/(sd|nvme)*; do dd if=/dev/urandom of=$x bs=1024 & ; done
minus-squarehperrin@lemmy.worldlinkfedilinkarrow-up11·1 year agoDon’t forget the mmc block devices too. Gotta purge those SD cards. (/dev/mmcblk*)
minus-squareKecessa@sh.itjust.workslinkfedilinkarrow-up14arrow-down1·1 year agoYes, you enter that in the terminal 🙃
minus-squareMonkderZweite@feddit.chlinkfedilinkarrow-up1·edit-21 year ago sudo dd if=/dev/urandom of=/dev/sdX sudo cp /dev/urandom /dev/nvme0n1 or # cat /dev/urandom > /dev/nvme0n1 Way faster. But honestly, find ~/ -type f -delete is almost as bad.
If you allow root privileges, there is:
sudo rm -rf --no-preserve-root /
If you want to be malicious:
sudo dd if=/dev/urandom of=/dev/sdX
or
sudo find / -exec shred -u {} \;
Let’s extend a little and really do some damage
deleted by creator
Nice idea!
Don’t forget the mmc block devices too. Gotta purge those SD cards. (/dev/mmcblk*)
JFC. That’s terminal.
Yes, you enter that in the terminal
🙃
sudo cp /dev/urandom /dev/nvme0n1
or# cat /dev/urandom > /dev/nvme0n1
Way faster.
But honestly,
find ~/ -type f -delete
is almost as bad.