Answers for "bash if argument in file"

1

bash if argument in file

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 "Shell/Bash"

Browse Popular Code Answers by Language