Conditional statements for testing variables and then selecting what code to execute, exist in the shell.