LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   How to list the directories of a file system by their sizes? (https://www.linuxquestions.org/questions/solaris-opensolaris-20/how-to-list-the-directories-of-a-file-system-by-their-sizes-688272/)

joaotelles 12-04-2008 06:35 AM

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

repo 12-04-2008 06:38 AM

ls -lh | sort

jlliagre 12-04-2008 07:46 AM

Code:

du -sko * | sort -n

hasanatizaz 12-04-2008 02:11 PM

should see man ls


All times are GMT -5. The time now is 11:12 AM.