title: /dev/null: Permission denied - run script in background but do not ouput logs
body: <p>I want to run a script in background after being disconnected to SSH.</p>
  
  <p>I am running this command</p>
  
  <p><code>nohup python batchscript.py ?&amp; /dev/null &amp;</code></p>
  
  <p>But it gives me <code>-bash: /dev/null: Permission denied</code> error.</p>
  
  <p>I searched online and found these kind of solutions </p>
  
  <p><code>rm -f /dev/null; mknod -m 666 /dev/null c 1 3</code></p>
  
  <p>I did that ... and ran my script again, I got same error </p>
  
  <p>Also I am getting that <code>nohup.out</code> file being created, I dont want that.</p>
  
  <p><strong>My ultimate goal:</strong>
  I want to run script even I am disconnected and most importantly I dont want it to output anything into any file, because log file will be huge.</p>