title: What does 1>&2 mean in shell?
body: <p>Pretty noob question, what does the 1>&amp;2 do in this script?</p>
  
  <pre><code>if [ "$(id -u)" != "0" ]; then
      echo "This script must be run as root" 1&gt;&amp;2
      exit 1
  fi
  </code></pre>