![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find the 5o largest files in a directory | igidttam | Filesystems, Disks and Memory | 8 | 05-16-2007 10:20 AM |
| list largest files in a directory & its subdirectories | igidttam | UNIX for Dummies Questions & Answers | 6 | 09-25-2006 08:31 AM |
| file of largest size in pwd | rameshparsa | Shell Programming and Scripting | 4 | 11-22-2005 09:25 AM |
| Finding largest file in current directory? | AusTex | High Level Programming | 1 | 03-13-2005 10:03 AM |
| How can I get the directory size in Unix? | HarryHong | UNIX for Dummies Questions & Answers | 1 | 03-01-2001 04:06 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
largest size directory in unix
I want to find the which directory under a directory occupy the maximum size is there is any command to find please help
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Some pointers: check man pages for df and sort. You should be able to figure it out then.
|
|
#3
|
|||
|
|||
|
Try du and sort.
|
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
||||
|
||||
|
Quote:
check bdf for hp-ux
__________________
War doesnt determine who is right, it determines who is left |
|
#6
|
||||
|
||||
|
I use SunOS and HP-UX. I said that I mixed up with df and du: the OP wants to find the directory with the largest size and the code for that is
Code:
du -sk *|sort -nr |
||||
| Google The UNIX and Linux Forums |