ls -lh

Show file sizes in human-readable format (KB, MB, GB)

ls -lh combines long format with human-readable sizes. 4096 becomes 4.0K, 1048576 becomes 1.0M. Essential for disk usage spotting.

Example

$ ls -lh
-rw-r--r-- 1 root root 1.2G Jan 15 03:00 app.log
Tip: Type it yourself in the terminal below - reading is not the same as doing.