Conditional Testing in Bash: if, then, else, elif
Related Quick Links Programming in Bash can be fun at times. Find out how get your Bash conditionals right. For example, one could test if a variable is empty or not. To learn more about Bash variables, you may like to review ourBash Functions and Local Variablesarticle. Bash is a full-blown Linux shell, and a comprehensive programming language. It also includes many extensions to the more common conditional statements within it’s scripting/programming language....