The Unix Shell's Humble If Let’s take a deep dive in the Unix shell’s if statement. We’ll cover syntax, negation, the test command, the [ command, bracket-bracket, math and numerical comparisons, and various rules for regular expressions. Pat Brisbin January 6, 2014 unix shell