Share your knowledge at the LQ Wiki.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.


  Search this Thread
Old 12-04-2008, 06:35 AM   #1
LQ Newbie
Registered: Oct 2008
Posts: 3

Rep: Reputation: 0
How to list the directories of a file system by their sizes?


This a direct and newbie question, I want to know if there is a command that you can list the directories of a filesystem ordered by their sizes...


Joao Telles
Old 12-04-2008, 06:38 AM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,520

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
ls -lh | sort
Old 12-04-2008, 07:46 AM   #3
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,633

Rep: Reputation: 390Reputation: 390Reputation: 390Reputation: 390
du -sko * | sort -n
Old 12-04-2008, 02:11 PM   #4
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 302
Blog Entries: 1

Rep: Reputation: 34
should see man ls

Last edited by hasanatizaz; 12-04-2008 at 02:26 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
File system dosen't have expected sizes for Windows to like it RonCum Ubuntu 2 10-01-2007 08:23 AM
Access Control List over Network File System not visible ORBiTrus Linux - Server 1 04-29-2007 09:32 PM
list file system linux supports "please give the command or system call" varun_shrivastava Linux - General 4 01-09-2007 07:28 AM
Directories sizes franz1927 Fedora 1 03-07-2005 01:06 AM
can't see root file system with list command fr_baker Linux - General 10 06-07-2004 08:27 PM

All times are GMT -5. The time now is 03:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration