oriond@lemmy.ml to Asklemmy@lemmy.ml · 9 months agoWhat is the most destroying command you can type in the Linux terminal?message-squaremessage-square76fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1message-squareWhat is the most destroying command you can type in the Linux terminal?oriond@lemmy.ml to Asklemmy@lemmy.ml · 9 months agomessage-square76fedilink
minus-squareLKC@sh.itjust.workslinkfedilinkarrow-up0·9 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-squareShadow@lemmy.calinkfedilinkarrow-up0·9 months 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-squarerattking@lemmy.mllinkfedilinkarrow-up0·9 months agoI think we can do that faster! dd if=/dev/urandom bs=1m | tee /dev/(sd|nvme)*
minus-squareKecessa@sh.itjust.workslinkfedilinkarrow-up0·9 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 {} \;
Let’s extend a little and really do some damage
I think we can do that faster!
dd if=/dev/urandom bs=1m | tee /dev/(sd|nvme)*
Nice idea!
JFC. That’s terminal.
Yes, you enter that in the terminal
🙃