Answers for "how to get if * is entered in the bash argument"

4

if argument bash

if [ -z "$1" ]
  then
    echo "No argument supplied"
fi

if ["$1" ]
  then
    echo "Argument supplied is: "$1
fi
Posted by: Guest on May-28-2021

Code answers related to "how to get if * is entered in the bash argument"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language