Get directories size in linux

To find out the sizes of the different directories in our current location do:

du -csh *

Which stands for:

  • du: disk usage
  • c: grand total, might think of it as "compute total"
  • s: summary
  • h: human readable