LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-06-2003, 08:12 PM   #1
gsbarry
Member
 
Registered: Jan 2003
Posts: 42

Rep: Reputation: 15
how could I know the directory size


I want to see how big is the size of a directory(includes its subdirectories), which command can help me to do so?

Thanks
 
Old 03-06-2003, 08:17 PM   #2
loke137
Member
 
Registered: Feb 2003
Location: Brasil
Distribution: Debian Etch
Posts: 147

Rep: Reputation: 15
du -h
reading a manual always helps
 
Old 03-07-2003, 08:13 AM   #3
OrganicX
Member
 
Registered: Aug 2002
Posts: 105

Rep: Reputation: 15
try df -h
 
Old 03-07-2003, 08:28 AM   #4
acid2000
Member
 
Registered: Nov 2001
Location: Exeter, UK
Distribution: Gentoo 1.4
Posts: 243

Rep: Reputation: 30
Quote:
reading a manual always helps
If been using Linux for 3 years and have never seen that command. You learn something new everyday.
 
Old 03-07-2003, 08:50 AM   #5
loke137
Member
 
Registered: Feb 2003
Location: Brasil
Distribution: Debian Etch
Posts: 147

Rep: Reputation: 15
Quote:
Originally posted by OrganicX
try df -h
df -h only shows filesystem usage, I am afraid
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to know the size of a directory? kornerr Linux - General 4 06-30-2005 09:59 AM
Directory size Carl-Fredrik Linux - Software 1 10-25-2004 03:28 PM
directory size chandan Linux - General 3 06-26-2003 08:51 AM
directory size santoshgnag Linux - General 1 06-26-2003 04:00 AM
Directory Size Helixx Linux - General 1 04-27-2001 08:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration