The UNIX Forums
"Join the Network of UNIX System Users"


 
JMonster
Newbie
Rank: 1



UID 205
Digest Posts 0
Credits 0
Posts 40
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 20, 2007 10:38 AM  Profile | P.M. 
list file size



list file size



hello all,
i have a directory filling up. i need to determine the size of the files in the directory. how do i do that, what command should i run when i am in the directory?


next question, can i expand the partition size?


Top
asterix
Newbie
Rank: 1



UID 60
Digest Posts 0
Credits 0
Posts 49
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 20, 2007 10:38 AM  Profile | P.M. 
du -k -a | sort -n

or
Top
kitlindell
Newbie
Rank: 1



UID 224
Digest Posts 0
Credits 0
Posts 50
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 20, 2007 10:39 AM  Profile | P.M. 
well, there is growfs(1m) but whether you can use it or not depends on your disk layout. actually, i don't know if growfs is even available on solaris 8
Top
 

 

All times are GMT, the time now is Mar 21, 2010 12:00 AM

Powered by Discuz! 5.0.0  © 2001-2006 UNIX Forums
Processed in 0.005638 second(s), 8 queries

Clear Cookies - Contact Us - UNIX Help - Archiver - WAP