Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-23-2004, 10:42 PM
|
#1
|
|
Senior Member
Registered: Apr 2003
Posts: 3,218
Rep:
|
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
|
|
|
|
11-23-2004, 10:50 PM
|
#2
|
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 3,816
Rep: 
|
man du -- in particular, du -s will help you.
|
|
|
|
11-23-2004, 10:51 PM
|
#3
|
|
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126
Rep:
|
du
Is it simple enough?
|
|
|
|
11-23-2004, 10:55 PM
|
#4
|
|
Member
Registered: Dec 2002
Distribution: Slackware
Posts: 927
Rep:
|
use "du -h" for filesize in bytes
|
|
|
|
11-23-2004, 11:32 PM
|
#5
|
|
Member
Registered: Aug 2004
Location: India
Distribution: Redhat Enterprise Server 2.1
Posts: 96
Rep:
|
Hi,
should work good for you 
Last edited by nitin_batta; 11-23-2004 at 11:33 PM.
|
|
|
|
11-24-2004, 12:06 AM
|
#6
|
|
Senior Member
Registered: Apr 2003
Posts: 3,218
Original Poster
Rep:
|
Hi folks,
Your advice noted with thanks.
B.R.
satimis
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:27 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|