Only if a user-entered value is greater than 10 then print “OK”. If the value equals to 10 or less then print “Not OK” 3. Bash – If-elif-else Statement Example In addition to else-if, we can check for new conditions, if the program goes to else block. The elif (else if) is used for multiple if conditions.
For More Information Please Refer:
You May Also Like to Read: