The use of conditions in scripting programming is as follows if((<condition>)) then <code> else <code> fi An example is the following

Read more of this post