check if argument passed shell script code example Example: verify parameter one bash if [ -z "$1" ] then echo "No argument supplied" fi