title: What is the purpose of "&&" in a shell command?
body: <p>As far as I know, using <code>&amp;</code> after the command is for running it in the background.</p>
  <p>Example of <code>&amp;</code> usage: <code>tar -czf file.tar.gz dirname &amp;</code></p>
  <p>But how about <code>&amp;&amp;</code>? (<a href="https://serverfault.com/questions/215179/centos-100-disk-full-how-to-remove-log-files-history-etc#answer-215188">example</a>)</p>