title: Print in bytes with "du"
body: <p>I am using <code>du -sh</code> to see the size of directories. If I check a 1KB directory, I will see:</p>
  
  <pre><code>1.0K    .
  </code></pre>
  
  <p>However, I want the output in bytes, and <em>only</em> the bytecount.</p>
  
  <p>For example:</p>
  
  <pre><code>$ du -sh .
  1024
  </code></pre>