Shell Script If Else Decision Statements in Shell Scripting June 14, 2016 Anurag If else or decision statements or conditional statements are one of the important parts of the Shell Scripting. As in any programming language, they help in deciding the flow of execution of the shell script.