While doing shell scripting you will use command line arguments to pass the values to the program. The program has to verify the value of the command line arguments whether it is having proper values assigned before further execution. Otherwise you can assign a default value for the parameter or argument if applicable.

Syntax:

variable1=${1:-value for the variable} # 1 represent the $1(second argument for the command line