dirty-helpers/saubermann-common

9 lines
248 B
Bash

#!/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 } }'