Code:
#!/bin/bash
if [ "foo" = "foo" ]; then
echo expression evaluated as true
fi
Basic conditional................
The code to be executed if the expression within braces is true can be found after the 'then' word and before
'fi' which indicates the end of the conditionally executed code.