saubermann-common: check for common problems + junk
This commit is contained in:
parent
0b50a9477d
commit
3bf13f2251
3 changed files with 14 additions and 2 deletions
8
saubermann-common
Executable file
8
saubermann-common
Executable 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 } }'
|
Loading…
Add table
Add a link
Reference in a new issue