How to re-create /dev/null: Difference between revisions

From Wiki
Jump to navigation Jump to search
Created page with 'If you screw up /dev/null as root, here is how to recreate it: <pre> rm -f /dev/null mknod /dev/null c 1 3 chmod a+w /dev/null </pre>'
 
(No difference)

Latest revision as of 23:05, 2 February 2011

If you screw up /dev/null as root, here is how to recreate it:

rm -f /dev/null
mknod /dev/null c 1 3
chmod a+w /dev/null