Se o argumento existe Bash
if [ -z "$1" ]
then
echo "No argument supplied"
fi
if ["$1" ]
then
echo "Argument supplied is: "$1
fi
Armandres
if [ -z "$1" ]
then
echo "No argument supplied"
fi
if ["$1" ]
then
echo "Argument supplied is: "$1
fi