Conditional Statement And Loops In Shell Script
Conditional Statement
-> Conditional Statement is used to perform a certain task based on some conditions.
IF-ELSE
#!/bin/bash
read -p "Enter Your Age - " age
if [ $age -lt 18 ]
then
echo "You can not vote"
else
echo "You can vote"
...