saubermann-common: check for common problems + junk

This commit is contained in:
neingeist 2016-09-11 18:27:39 +02:00
parent 0b50a9477d
commit 3bf13f2251
3 changed files with 14 additions and 2 deletions

8
saubermann-common Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
# check for common problems + junk
echo "== Dangling symlinks in /etc"
symlinks -r /etc | grep ^dangling | egrep -v 'blkid.tab|/var/log/dropbear'
echo "== Trashes"
du -s /home/*/.local/share/Trash | awk '{ if ($1 > 100000) { print } }'