13,420
edits
Changes
→Using Control Flow Statements in Shell Scripts
''Example:''
<span pre style="font-familywidth:courier;font-weight:bold;20%">num1=5<br>num2=10<br>if test $num1 –lt $num2<br>condition then<br> echo “Less Than”<br> command(s) else<br>echo “Greater Than or Equal to”<br> command(s) fi</span><br><brpre>