$ volume=vol1
$ echo $volume
vol1
$ volume="vol1"
$ echo $volume
vol1
$ volume='vol1'
$ echo $volume
vol1
What is the difference between the above in bash scripting? All are one and same?
$ volume=vol1
$ echo $volume
vol1
$ volume="vol1"
$ echo $volume
vol1
$ volume='vol1'
$ echo $volume
vol1
What is the difference between the above in bash scripting? All are one and same?
You'll probably find the definitive answer on that wiki.
Short answer: the quote are needed arround $volume
.