First its not like this questionHow do I echo a string with multiple spaces in bash untouched? [duplicate] because in that question he just want to print it and I want to assign it to variable and save it.I've tried this:SPACE='  'VAR=$VAR1${SPACE}$VAR2
How to assign a string with multiple spaces to a variable in bash?
shell script;variable
You're just missing the closing double quote:$ var1=Hello$ SPACE='  '$ VAR2=Wissam$ VAR=$var1${SPACE}$VAR2$ echo ${VAR}Hello  WissamNote that variable names are case-sensitive too.