Learn about logical operators and shell expansions, in the second article in this multi-part series on programming with Bash. Author’s note: The articles in this series first appeared at Opensource.com. The original articles consisted of two series and the rest were published as stand-alone articles. These have all been merged into a single series with updates and modifications for that purpose.
Source: Bash Operators & Shell Tricks: Level Up Your Scripting – OpenSource.net