≡ Menu

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

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

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

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

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

{ 2 comments… add one }

  • arunkumar April 5, 2013, 6:09 pm

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

    • arunkumar April 5, 2013, 6:09 pm

      ls??

Leave a Comment