This is a wiki page. Be bold and improve it!
If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.
Documented in the 'SHELL BUILTIN COMMANDS' section of
man bash or here:
# The following will not work because the script will try to run the non-existing command 'configuration_file'
# However, this works:
For an alphanumeric string, use declare:
# -g makes the variable global.
declare -g $1=$2
Do not add spaces, as the following errors show:
$ let i = i + 1
bash: let: =: syntax error: operand expected (error token is "=")
$ let i= i + 1
bash: let: i=: syntax error: operand expected (error token is "=")
$ let i=i + 1
bash: let: +: syntax error: operand expected (error token is "+")
$ let i=i+1
$ echo $i