Skip to content

Comment on Hacking ls -lparent

Comments

This works with sorting, and it's easier to pick big files out at a glance. I would use this as often as -h

`ls -lhS` works just fine to sort with human-readable sizes, at least on Fedora.

You could also use 'ls -lh | sort -h'.

I believe that's only supported in newer versions of sort.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.