I have problem with file system size mismatch from 2 different linux commands
du -h shows only 250 MB used
df -h shows 9.5 GB used
Why is the different between commands ?
I have problem with file system size mismatch from 2 different linux commands
du -h shows only 250 MB used
df -h shows 9.5 GB used
Why is the different between commands ?
du -h only shows the amount used under the current directory, while df -h shows all the usage for the whole filesystem.
du -hwill show information on the directory from which you ran the command.df -hwill show information on full disk partitions. – user4556274 Sep 08 '16 at 07:59