Skip to main content

Linux command: du - disk usage

Where have all my storage gone? du summarize disk usage of the set of FILEs, recursively for directories.

du -sh : summary, human readable format (B,KB,MB,GB)
du -d 1 : 1 depth level
du / -h -d 1
  • /: root directory
  • h: Display in human format K M G
  • d: --max-depth is 1 (one) level
Liux command: du - disk usage

Take a look at /usr and /var directories

du /usr -h -d 1
du /var -h -d 1

df -h

>>> THM | Linux Modules - Task 2

Related articles

>>> Disk Usage on Windows

Popular posts from this blog

HTML5: Complete Table Structure

Photo Credit: Gerald - pixabay.com   <table> <caption style="caption-side:bottom;" >Caption here</caption> <thead> <tr> <th>Header1</th> <th>Header2</th> ... </tr> </thead> <tbody> <tr> <td>Column1</td> <td>Column2</td> ... </tr> ... </tbody> <tfoot>Footer here</tfoot> </table>

Chrome: Common Keyboard Shortcuts

Get more productive by learning and using shortcuts in Chrome browser.