JavaCowboy
06-15-2001, 06:16 PM
I know how to see the file space on each drive using the df command. What I would like to know is to how to view file space by different directories, if that's at all possible.
|
Click to See Complete Forum and Search --> : hard disk space by directory JavaCowboy 06-15-2001, 06:16 PM I know how to see the file space on each drive using the df command. What I would like to know is to how to view file space by different directories, if that's at all possible. Derango 06-15-2001, 07:07 PM This may not be exactly what you're looking for, but you can use ls -l to show the filesize of the files in a directory. Not sure if that shows the size of the directory as well. posterboy 06-15-2001, 07:16 PM Yeah, also try du . when in the top of the tree of interest, or point du (disk usage) where you want it to sum up. The man page is very useful, it's a pretty capable little utility. Ray FORTRAN gy 06-15-2001, 07:16 PM Use the du command to report the disk space used by a directory and its subdirectories. Do a "man du" for the details. bdl 06-15-2001, 07:34 PM prompt$ du -sh ./somedir justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |