Essay - Published: 2016.04.18 |
DISCLOSURE: If you buy through affiliate links, I may earn a small commission. (disclosures)
**Problem: **I’ve got a terminal opened in a directory on my computer. I want to see a list of all the files in the directory along with their corresponding file sizes, in human-readable form. How can I do this?

**Solution: **To see the file sizes of all the files in a given directory, simply type:
du -h *
The best way to support my work is to like / comment / share for the algorithm and subscribe for future updates.