Finding the directories with large number of inodes:
clear;echo “Detailed Inode usage: $(pwd)” ; for d in `find -maxdepth 1 -type d |cut -d\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc -l) ; printf “$c\t\t- $d\n” ; done ; printf “Total: \t\t$(find $(pwd) | wc -l)\n”
Note: Run the above command in root (/) partition
Find all the files more than 100MB:
find / -type f -size +100M -exec ls -lh {} \; | awk ‘{ print $9 “|| Size : ” $5 }’
.