Thursday, May 7, 2009

create /dev/null

Are you getting /dev/null: Permission denied error in terminal ?

Chances are you accidentally deleted /dev/null or something happened that you are unaware of.

But no worries you can make /dev/null again by following the mentioned steps and get rid of the problem.

  1. First go to terminal
  2. sudo rm /dev/null
  3. sudo mknod -m 0666 /dev/null c 1 3
And this should solve the problem.

No comments:

Post a Comment