DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+9 =
Submit