Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I find size of a directory?

Status
Not open for further replies.
Joined
Sep 18, 2002
Messages
19
Location
US
Yes, I know VERY little Unix.
I feel dumb that I can't find the answer myself.
I have a directory /xyz with a lot of sub directories.
How do I find what the total size is in bytes?
Thanks
 
try the du command

du -s <dir>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top