Mastering the Terminal Category
02/16/2014
Get and compare the current Git branch in BASH
by Frank Rietta
When using Git, this is the easy way to get the current branch within a BASH script and use it to conditionally execute the most appropriate code with an if/else.
02/11/2014
Reset MySQL Root Password with One Command
by Frank Rietta
One simple command to reset your MySQL root password on Debian/Ubuntu Linux. Don't overthink this one.