oriond@lemmy.ml to Asklemmy@lemmy.ml · 11 months agoWhat is the most destroying command you can type in the Linux terminal?message-squaremessage-square26fedilinkarrow-up13arrow-down10
arrow-up13arrow-down1message-squareWhat is the most destroying command you can type in the Linux terminal?oriond@lemmy.ml to Asklemmy@lemmy.ml · 11 months agomessage-square26fedilink
minus-squareLKC@sh.itjust.workslinkfedilinkarrow-up1·11 months 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-squareMonkderZweite@feddit.chlinkfedilinkarrow-up1·edit-211 months 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.
minus-squareKecessa@sh.itjust.workslinkfedilinkarrow-up0arrow-down1·11 months agoYes, you enter that in the terminal 🙃
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 {} \;
sudo cp /dev/urandom /dev/nvme0n1
or# cat /dev/urandom > /dev/nvme0n1
Way faster.
But honestly,
find ~/ -type f -delete
is almost as bad.JFC. That’s terminal.
Yes, you enter that in the terminal
🙃