Variables used in Bash Scripts.
These are always treated as strings.
Declaration
Variables are declared with
var_name=valuewhere there can be no space since Bash will otherwise interpret the variable name as a command.
Reference
Values of variables are referenced with
$var_nameor
${var_name}Examples
Declaration
user="alice"Reference
echo "Hello, $user" # prints: Hello, aliceDeclaration and Reference
export PATH="/usr/local/bin:$PATH"