Answers for "bash if arguments contains"

1

bash if arguments contains

if [ ! -z $1 ] #Check if argument for script is given
  then var=$1
  else var="argument_not_given"
fi
Posted by: Guest on February-19-2021

Code answers related to "bash if arguments contains"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language