BASH 'df' command showing the same numbers for all directories? -
i'm trying disk usage of within directories, i've been attempting commands this:
df -h -k /var/www/html/exampledirectory1 df -h -k /var/www/html/exampledirectory2 df -h -k /var/www/html/exampledirectory3
the problem is, every single directory in server (even if run 'df -h' while within directory) giving me exact same numbers, down kilobyte.
obviously can't correct, have no idea i'm doing wrong. can me out?
(i'm using bash version 4.2.25 , i'm running ubuntu 14.10)
you want use du
command. df
used measuring disk usage of whole partition. here example determine disk spaced used directory , sub-directories:
du -sh /home/darwin
Comments
Post a Comment