Toggle navigation
Babar Al-Amin
Home
Blog
Resume
#macosx
How to get human readable file size on Mac (/*BSD) terminal
Posted
almost 5 years ago
in
Tips & Tricks
. Tagged with:
System Administration
,
Linux
,
MacOSX
permalink
Getting file size from OSX terminal is a pain. Actually it's a pain in all BSD variants. We normally use `ls -sh` on Linux derivatives. But this command on Mac doesn't return a human readable value.