Atemu to [email protected] • 2 years agoTIL about /dev/fullen.wikipedia.orgmessage-square16fedilinkarrow-up1157arrow-down10file-text
arrow-up1157arrow-down1external-linkTIL about /dev/fullen.wikipedia.orgAtemu to [email protected] • 2 years agomessage-square16fedilinkfile-text
minus-square@[email protected]linkfedilink5•2 years agoThe shell script available for download in the Code section is just pure evil!
minus-square@marswarriorlink6•edit-22 years agoThe whole website is hilarious. That code finds a random file and deletes it with sudo. I’m gonna run it on a VM :) sudo rm -rf "$(sudo find / -type f -print0 | shuf -n1 -z)" edit: nothing bad happened. VM still works fine. gonna run it a few dozen times more and see. or put in a while loop, or a cron job every 5 seconds. lol. I wonder how long it will take for it to delete something important.
The shell script available for download in the Code section is just pure evil!
The whole website is hilarious. That code finds a random file and deletes it with sudo. I’m gonna run it on a VM :)
sudo rm -rf "$(sudo find / -type f -print0 | shuf -n1 -z)"
edit: nothing bad happened. VM still works fine. gonna run it a few dozen times more and see. or put in a while loop, or a cron job every 5 seconds. lol. I wonder how long it will take for it to delete something important.