We can list the directory and used space with the following commands.
Lets say, you are in a directory and there are so many other directory you want to know the used space of individual directory.
#cd /
#du -h -d 1 .
Or to get the same output you can run the following command
#du -h --max-depth=1 /
Comments
Post a Comment