bash tricks

set the home directory

you can set or change the home directory if your admin has been lazy
HOME=/folder

find without nonsense

use find without printing permission errors from stderr by piping them to /dev/null
find / -name searchword 2>/dev/null
locate is easier alternative but not usually included by default

Advanced Bash-Scripting Guide

http://www.tldp.org/LDP/abs/html/index.html

log2ram low memory alert

Check if log2ram is more than 90% full and send alert with pushover if so

low memory alert

Check if there's less than 100mb of memory and send alert with pushover