Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-21-2006, 11:13 AM   #1
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, 11:19 AM   #2
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.

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.



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 03:09 PM
To Get Folder Size ArulPrabhuT Programming 6 08-12-2004 12:44 PM
Folder size xedios Linux - Software 1 07-05-2004 05: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 03:26 AM
Folder size imsajjadali Red Hat 3 01-30-2004 09:01 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:40 AM.

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