title: nohup redirection command difference
body: <p>What is the difference between these 2 below lines?</p>
  
  <pre><code>nohup $CATALINA_HOME/bin/startup.sh $CATALINA_HOME 2&gt; /dev/null &amp;
  
  nohup $CATALINA_HOME/bin/startup.sh $CATALINA_HOME &gt; /dev/null &amp;
  </code></pre>
  
  <p>I've these lines in 2 of my projects having Tomcat server. One of them is having 2> &amp; other one is just with > symbol.</p>
  
  <p>Appreciate youe help!</p>
  
  <p><strong>Note:</strong> The line with 2> if ran in CentOS runs fine but the other one gives warning: "nohup: redirecting stderr to stdout"</p>
  
  <p>Thanks!</p>