du -h の結果をソートするには、sort -h を使う。
$ sudo du -x -h /* 2>/dev/null | sort -hr | head -n20 1.1G /usr 634M /usr/share 407M /home/pi 407M /home 405M /home/pi/project 352M /usr/lib 178M /var 171M /usr/share/icons 148M /usr/share/locale 130M /usr/lib/arm-linux-gnueabihf 111M /home/pi/project/sample.bak/resources 111M /home/pi/project/sample.bak 101M /usr/bin 83M /usr/share/icons/HighContrast 74M /usr/share/icons/gnome 69M /usr/share/doc 68M /var/lib 50M /lib 48M /usr/share/scratch 35M /opt/vc
ディスクの容量がなんか大きくなったので、これでだいたいの犯人の目星をつける。