Review your favorite Linux distribution.
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, 07: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, 07:38 AM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

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

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
du -sko * | sort -n
Old 12-04-2008, 03: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 03: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 09:23 AM
Access Control List over Network File System not visible ORBiTrus Linux - Server 1 04-29-2007 10:32 PM
list file system linux supports "please give the command or system call" varun_shrivastava Linux - General 4 01-09-2007 08:28 AM
Directories sizes franz1927 Fedora 1 03-07-2005 02:06 AM
can't see root file system with list command fr_baker Linux - General 10 06-07-2004 09:27 PM

All times are GMT -5. The time now is 07:22 AM.

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