Compruebe si la variable contiene bash de cadenas

STRING='Hello world'
if [[ $STRING =~ "Hello" ]] ; then echo "It's here" ; fi
Annoying Armadillo