ls Command: Sort Files / Folders (Directories) By Size With -s or –sort

by on January 13, 2013 · 2 comments· LAST UPDATED January 13, 2013

Fig.02: Sort files / folders (directories) by size

Sort by size (largest file first) before sorting the operands in lexicographical order.

Tweet itFacebook itG+ itFound an error/typo on this page?

Examples and usage: Linux ls Command: Sort Files By Size

{ 2 comments… read them below or add one }

1 arunkumar April 5, 2013 at 6:09 pm

what is the size specification in ls -l command in linux


2 arunkumar April 5, 2013 at 6:09 pm



Leave a Comment

Tagged as: