Changes

Jump to: navigation, search

Tutorial10: Shell Scripting - Part 1

138 bytes removed, 11:07, 10 March 2021
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> &nbsp;&nbsp;&nbsp;echo “Less Than”<br> command(s) else<br>echo &nbsp;&nbsp;&nbsp;“Greater Than or Equal to”<br> command(s) fi</span><br><brpre>
13,420
edits

Navigation menu