Operating System - HP-UX
1823218 Members
3772 Online
109648 Solutions
New Discussion юеВ

Re: How to total size of space used in a directory?

 
SOLVED
Go to solution
Deepu Chakravarty
Regular Advisor

How to total size of space used in a directory?

Suppose I have the following directory
/applprod/aaa/bbb, in bbb I need to calculate the total space used by this directory including any sub-directory under it.

How I can do that?
3 REPLIES 3
Chan 007
Honored Contributor

Re: How to total size of space used in a directory?

Try

du -sk .

Chan
Pete Randall
Outstanding Contributor
Solution

Re: How to total size of space used in a directory?

Use

du -sk /applprod/aaa/bbb

It will give you the amount of space used in KB.


Pete

Pete
Deepu Chakravarty
Regular Advisor

Re: How to total size of space used in a directory?

Thanks.