LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

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

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


Hi,

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

Tks,

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

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
ls -lh | sort
 
Old 12-04-2008, 07:46 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,482

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Code:
du -sko * | sort -n
 
Old 12-04-2008, 02:11 PM   #4
hasanatizaz
Member
 
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.
 
  


Reply


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 04:28 AM.

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