sudo du -hsx /* | sort -rh | head -n 40
# https://askubuntu.com/questions/266825/what-do-i-do-when-my-root-filesystem-is-full
- https://askubuntu.com/questions/345588/what-is-the-safest-way-to-clean-up-boot-partition#answer-430944
- http://ubuntuhandbook.org/index.php/2016/05/remove-old-kernels-ubuntu-16-04/
- https://gist.github.com/ipbastola/2760cfc28be62a5ee10036851c654600
for fileSystem in $(find /proc/fs -name options);do fsName=`echo $fileSystem | cut -f1-5 -d'/'`;fsState=`grep "^rw\|^ro" $fileSystem|sed -e 's/rw/1/' -e 's/ro/0/'`;echo -e "FileSystem=$fsName,State=$fsState";done