Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Shell CLI Argument Default Value

VARIABLE="${1:-$DEFAULTVALUE}"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Shell #CLI #Argument #Default #Value
ADD COMMENT
Topic
Name
2+3 =