≡ 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.

Sysadmin because even developers need heroes!!!

Share this tutorial on:

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??

Security: Are you a robot or human?
You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">


   Tagged with: