Skip to Content
gnux

-h, --human-readable

With -l and -s, print sizes like 1K 234M 2G etc.

An option of lsx.

Usage

lsx -h [FILE]...
lsx --human-readable [FILE]...

Details

ShortLongValueDefaultMeaning
-h--human-readablenonewith -l and -s, print sizes like 1K 234M 2G etc.

Examples

Long listing including hidden files, with human-readable sizes

lsx -lah

Smallest files first (reverse the size sort)

lsx -lShr downloads/

Help in the terminal

gnux help lsx --human-readable

On this page