Monit

1

Finally I’ve installed and configured my first Monit instance. It’s monitoring system resources and some services like apache, postgresql, mysql and ssh daemon. I’m looking forward to receive a huge among of mails because of the system resources and checksum…

Interactive PS1

0

Nice PS1 config. Thanks to Michal Svoboda 🙂 export PS1=’\[\033[22;32m\]o\[\033[32;1m\]O\[\033[22;32m\]o `if [[ $? -eq 0 ]]; then echo “\[\033[32;1m\]:)”; else echo “\[\033[31;1m\]:(“; fi` \[\033[33;1m\]\w`if [[ $UID -eq 0 ]]; then echo “\[\033[31;1m\]”; else echo “\[\033[34;1m\]”; fi`\$\[\033[m\] ‘