Bash
Conditional statements
if [ condition ]
then
echo "this when condition is met"
else
echo "this when condition is not met"
fi
Echo an argument
echo "Echo the first argument $1"
if [ condition ]
then
echo "this when condition is met"
else
echo "this when condition is not met"
fi
echo "Echo the first argument $1"