How does an if-then(-else) statement end?
With the reverse of the word if: fi
How can we use regular expression search patterns in a conditional evaluation?
By employing the =~ comparison symbol. For example: [[ ${var} =~ [[:digit:]] ]]
Why do we need the elif keyword?
If we want to sequentially test for more than one condition, we can use else if (elif).
What is nesting?
Using an if-then-else statement or loop within another if-then-else statement or loop.
How can we get information about how to use shell builtins and keywords?
By using the command help, followed by the builtin or keyword we want information about. For example: help [[
What is the opposite keyword of while?until. A while loop runs until the condition is no longer ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.