LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-21-2006, 10:13 AM   #1
cupoftea
LQ Newbie
 
Registered: May 2006
Posts: 19

Rep: Reputation: 0
What is the folder size?


How do I check what is the total space the folder and its subordinates is consuming?
 
Old 05-21-2006, 10:19 AM   #2
dannystaple
Member
 
Registered: Apr 2006
Location: London, Uk
Distribution: Ubuntu on Desktop
Posts: 121

Rep: Reputation: 15
From the command line, you can run the command "du". This is disk usage reporting. It has many options (which you can get the full detail of with "man du" at your command prompt). The ones I normally use are -h - for human, and -s for summarise.

Code:
du -sh .
The dot here specifies the current directory, but could be replaced wiht any path.

It may take a while depending on how many files are in the directory.

If you are looking for graphical means, most file managers will probably allow you to right click on a folder and get the disk space usage.

Danny
 
  


Reply

Tags
disk, du, usage


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM
To Get Folder Size ArulPrabhuT Programming 6 08-12-2004 11:44 AM
Folder size xedios Linux - Software 1 07-05-2004 04:40 AM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM
Folder size imsajjadali Red Hat 3 01-30-2004 08:01 AM


All times are GMT -5. The time now is 03:39 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration