To find out the disk usage summary of a /home/tecmint directory tree and each of its sub directories. Enter the command as:
(Using “-h” option with “du” command provides results in “Human Readable Format“.)
du -h /home/tecmint
Using “-a” flag with “du” command displays the disk usage of all the files and directories.
du -a /home/tecmint
sudo du -h --max-depth=1
ls -lto see which files are using a lot of space. Delete any you don’t need.