No, that’s not a typo.
My knowledge about useful/funny /dev files grows by the day…
I now know of: random & urandom, null, zero and now full…
Bouta make an infinity gauntlet meme of them
Wait until you learn about the shell specific /dev “files” like /dev/udp and /dev/tcp (which can send/recv IP traffic as if from a file)!
DO IT, DO IT
Maybe I can finally get my pull merged for /dev/grohl which just outputs random Foo Fighters lyrics.
Can I get /dev/full as a service? I’m already paying a premium subscription for /dev/null as a service
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)"
So do you change your scripts to write to that to test what happens if a write didn’t occur?
I learned something new. Thanks.
The bottom of that Wikipedia page has a reference to something else that sounded interesting called “/dev/mordor” in some Plan 9 OS fork called 9front. Sent me down a really interesting rabbit hole http://9front.org/
9front is a great rabbit hole. Plus, Plan9’s mascot is Glenda, the rabbit.