title: Need help escaping from awk quotations in bash script
body: <p>I have an alias in my bashrc file that outputs current folder contents and system available storage, updated continuously by the watch function.</p>
  
  <pre><code>alias wtch='watch -n 0 -t "du -sch * -B 1000000 2&gt;/dev/null | sort -h &amp;&amp; df -h -B 1000000| head -2 | awk '{print \$4}'"'
  </code></pre>
  
  <p>The string worked fine until I put in the awk part. I know I need to escape the single quotation marks, while still staying in the double quotation marks and the $4 but I haven't been able to get it to work. What am I doing wrong?</p>
  
  <p>This is the error I get</p>
  
  <pre><code>-bash: alias: $4}": not found
  </code></pre>