Tag Archives: parameters

Define default values for bash scrip arguments

Note to self: bash is cool!!!! I was made aware that you can define a default value for a variable in the following manner: ${parameter:-word} So if parameter is unset or null, the expression is replaced with the expansion of … Continue reading

Posted in commands | Tagged , , , , | Leave a comment