The discs have a habit of filling and occasionally have to do cleaning. The simplest is to start by the boards of highest concern. On Unix (Linux, Solaris, etc.). Use the command "du" to this end. To list the directories sorted by size:
du -s * | sort -n
The problem is when multiple file systems mounted. If we know that the mount point root (/) has little space we can use this command to get a list sorted by size of directories that are mounted on this partition:
for i in `ls`; do if [ "`df $i | awk '{print $1}'`" == "/" ] ; then du -s $i| sort -n; fi; done | sort -n


