Often you want to use default values in a bash script. Mostly when you want to make use of optional arguments. You can easily achieve that with parameter substitution. There are more parameter substitutions which you can checkout at http://tldp.org/LDP/abs/html/parameter-substitution.html