Commands to display disk usage and find specific sized files from terminal / shellFind Large Files:
To find files over 100MB run the following:
find / -size +102400k -exec du -hs {} \;
Disk Usage:
Once you are connected to the server via SSH, run the following command:
# df -h
This will output the usage of each partition in the server. To list the size of a specific directory, run the following command:
# du -sh /home/
If you want to list all the subdirectory sizes under /home, run the following command:
# du -sh /home/*