I have this script I am looking at, learning scripting but I cannot figure out what this line means:
if [[ $1 = "-?" ]]
I understand the $1
is first argument, but the after the equals I cannot figure it out the -?
.h
if [[ $1 = "-?" ]]
then
echo "Use is: 235.sh <username>"
exit 1