Created
August 7, 2013 10:45
-
-
Save fabriceleal/6173013 to your computer and use it in GitHub Desktop.
Remake /dev/null (if you, like me, are somehow able to break it)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From http://www.linuxforums.org/forum/newbie/27030-bash-dev-null-permission-denied-why.html | |
# Do this as root | |
rm /dev/null | |
mknod -m 0666 /dev/null c 1 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment