Which of the following command sets the Bash variable named TEST with the content FOO?
set TEST="FOO"
TEST = "FOO"
var TEST="FOO"
TEST="FOO"
Referência recomendada para estudo
In Bash, the correct syntax to assign a value to a variable is VARIABLE_NAME=value with no spaces around the = sign. The command TEST="FOO" correctly sets the variable TEST to the string FOO.
VARIABLE_NAME=value
=
TEST
FOO