Atemu@lemmy.ml to Linux@lemmy.ml · 2 years agoTIL about /dev/fullen.wikipedia.orgexternal-linkmessage-square16linkfedilinkarrow-up1157arrow-down10file-text
arrow-up1157arrow-down1external-linkTIL about /dev/fullen.wikipedia.orgAtemu@lemmy.ml to Linux@lemmy.ml · 2 years agomessage-square16linkfedilinkfile-text
minus-squaremarswarriorlinkfedilinkarrow-up6·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 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.