The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
command to find out total size of a specific file size (spread over the server) abhinov SUN Solaris 3 08-08-2007 03:48 AM
more questions froma a dummy cinnamonbear UNIX for Dummies Questions & Answers 2 08-29-2006 04:33 PM
Dummy Questions slayer666 UNIX for Dummies Questions & Answers 8 08-17-2006 12:05 PM
Dummy questions about how to get the size of a directory by command GCTEII UNIX for Dummies Questions & Answers 4 05-15-2006 05:36 AM
Polling/Interrogate Directory Questions dnidiffer Shell Programming and Scripting 1 06-14-2005 06:20 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-14-2006
Registered User
 

Join Date: Feb 2006
Location: JP.Tokyo
Posts: 30
Dummy questions about how to get the size of a directory by command

Hi,
'ls -ld' is no use ....
I want to get the total size of a directory including subdir.
Any advice?

Thanks in advance
Reply With Quote
Forum Sponsor
  #2  
Old 05-14-2006
Registered User
 

Join Date: May 2006
Posts: 6
For Directory length, u can use the follwing command :

du -k

It gives the length including all the sub-directories.

ratan
Reply With Quote
  #3  
Old 05-14-2006
Registered User
 

Join Date: Feb 2006
Location: JP.Tokyo
Posts: 30
I use du command and get the answer which I need!
du -sm
Thanks in advance!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:45 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0