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.

Comments

Popular posts from this blog

Essential adb Command Examples

Logging Handler With Buffering And Uses Amazon SES For Python

Fake SMTP Server For Development