The command that sets the Bash variable named `TEST` with the content `FOO` is:
D. `TEST="FOO"`
In Bash, you can assign a value to a variable by simply using the variable name followed by an equal sign and the value, without any spaces around the equal sign. For example, `TEST="FOO"` assigns the value "FOO" to the variable `TEST`.
SPACE, there should be no space and B has space and will not work D is the answer
upvoted 2 times
...
...
This section is not available anymore. Please use the main Exam Page.101-400 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
DuboisNicolasDuclair
1 year, 8 months agosis_net_sec
3 years, 2 months agoLazylinux
3 years, 2 months ago