MattOps

Development. Administration. Automation. Security.

Simple Process Debugging

Ever have an elusive bug that only occurs once in a long while, usually over the weekend when you’re not in the office? I’ve been having this very problem with... Read more »

Checking Root User

if [ $(id -u) -ne $(id -u root) ]; then echo "sorry, you must run this script as root." exit 1 fi Read more »