LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   A simple command displaying the size of a directory (https://www.linuxquestions.org/questions/linux-newbie-8/a-simple-command-displaying-the-size-of-a-directory-258615/)

satimis 11-23-2004 10:42 PM

A simple command displaying the size of a directory
 
Hi folks,

FedoraCore2
===========

What will be the simple command line on terminal displaying the size of a directory (/Dir_AAA) in MB including all its subdirectories and files.

TIA

B.R.
satimis

btmiller 11-23-2004 10:50 PM

man du -- in particular, du -s will help you.

J_Szucs 11-23-2004 10:51 PM

du

Is it simple enough?

Genesee 11-23-2004 10:55 PM

use "du -h" for filesize in bytes

nitin_batta 11-23-2004 11:32 PM

Hi,

Code:

du -sh /Dir_AAA
should work good for you :)

satimis 11-24-2004 12:06 AM

Hi folks,

Your advice noted with thanks.

B.R.
satimis


All times are GMT -5. The time now is 05:27 AM.