LFCS 123 🐧 Shell Scripting — Conditionals
The previous chapter covered special parameters: positional arguments and exit codes. This chapter focuses on conditionals: if, elif, else, case, and the test operators that determine which branch runs. The LFCS exam tests the syntax of the if statement, the difference between [ and [[, and the distinction between numeric comparison and string comparison. The…