how to check if string is in BASH arguments code example
Example: bash if arguments contains
if [ ! -z $1 ] #Check if argument for script is given
then var=$1
else var="argument_not_given"
fi
if [ ! -z $1 ] #Check if argument for script is given
then var=$1
else var="argument_not_given"
fi