How would I go about finding the about of disk space occupied by a certain directory?
For example, /u1/cvera => 530 MB
Thanks =)
How would I go about finding the about of disk space occupied by a certain directory?
For example, /u1/cvera => 530 MB
Thanks =)
du -h /some/dir | tail -1
or if that doesn't work
du -k /some/dir | tail -1
du -sk /some/dir
both command options [du -k] AND [du -sk] worked great. The [du -h] option was an unrecognized commandline option. Thanks very much. 