How to display folder size from terminal in Ubuntu?

Question:

How to display folder size from terminal in Ubuntu?

Answer:

du -h -s /full/path/to/folder/

Sample output for a folder with subfolders:

669M idea-IC-162.1812.17

Scroll to Top