Periksa apakah variabel berisi bash string
STRING='Hello world'
if [[ $STRING =~ "Hello" ]] ; then echo "It's here" ; fi
Annoying Armadillo
STRING='Hello world'
if [[ $STRING =~ "Hello" ]] ; then echo "It's here" ; fi