Unix

If/Then/Else From Bash Programmers Manual

#!/bin/bash
if [ "foo" = "foo" ]; then
     echo expression evaluated as true
else
     echo expression evaluated as false
fi