how to check if a substring is in a file in bash code example
Example: bash if file contains string
if grep -q SomeString "$File"; then
Some Actions # SomeString was found
fi
if grep -q SomeString "$File"; then
Some Actions # SomeString was found
fi