## Linux conditional "if" statements check whether a variable BEGINS with, e.g. "S" if ( "$what_to_check" =~ S* ) then check whether a field CONTAINS with, e.g. "S" if ( "$what_to_check" =~ *S* ) then