Variable with Default Value

The ${VAR:-default} syntax uses the variable value if set, or the default if unset or empty.

Variables

Command


        
2 views 0 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.