LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Simple Question - How much space is a dir taking up? (https://www.linuxquestions.org/questions/linux-newbie-8/simple-question-how-much-space-is-a-dir-taking-up-336081/)

elitecodex 06-22-2005 10:06 AM

Simple Question - How much space is a dir taking up?
 
Its a simple request... but df only seems to tell me the entire hard drive... I just want to know what /home/username/subfolder/folder is taking up. Simple thing I just never realized I didnt know how to do :)

Thanks.
Will

visaris 06-22-2005 10:13 AM

du -h /home/username/subfolder/folder

nixcraft 06-22-2005 10:14 AM

Run du command.

Code:

cd /home/me/you
du -ch


elitecodex 06-22-2005 10:16 AM

Excellant... thank both of you very much :)

trickykid 06-22-2005 10:17 AM

It will usually report whatever size you set your inode block size to be during the initall format and partitioning.. ;)

Standard is 4096 size inodes and blocks.. so it'll probably report 4k being used..


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