Don’t manually setup your new laptop with a series of copy-and-pasted steps from some blog post. Leverage automation and the open source community to save time and get a more stable result.
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.