You never realize how much your OS uses /dev/null for stuff until you accidentally delete /dev/null and sshd or some other programs turns it into a regular file.
What an exciting journey. You're probably thinking, "how in the world do you accidentally delete that?" 🤷♂️
Conversation
This Tweet was deleted by the Tweet author. Learn more
I don't know how it got deleted but I got all sorts of interesting errors. I seriously thought I got hacked. I was thinking, "man, I'm running Linux! I never get hacked? What is this?"
1
Replying to
I hadn't realized you could delete /dev/null - makes sense that you can, of course, but feels like dividing by zero.
1
1
Show replies
Replying to
That's Indiana Jones territory. I can't think of a remotely legitimate way that you ended up deleting anything in /dev unless you were deleting files you'd opened yourself, one of which was /dev/null


