Results 1 to 2 of 2

Thread: Order by size

  1. #1
    Join Date
    Aug 2002
    Posts
    1,633

    Order by size

    how can i order the following command by size? du -h --max-depth=1

    thx

  2. #2
    Join Date
    Mar 2003
    Posts
    110
    Quote Originally Posted by adapter
    how can i order the following command by size? du -h --max-depth=1

    thx
    du -h --max-depth=1 | sort -rn

    should give you the desired result.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •