010-160 Exam QuestionsBrowse all questions from this exam

010-160 Exam - Question 62


Which of the following commands sets the variable USERNAME to the value bob?

Show Answer
Correct Answer: E

The command to set a variable in most shell environments (like Bash) is to use the syntax 'VARIABLE_NAME=value'. Therefore, to set the variable USERNAME to the value bob, you would use 'USERNAME=bob'.

Discussion

2 comments
Sign in to comment
beazzlebubOption: E
Jul 26, 2021

E is the correct answer

ninjaboy17Option: B
May 25, 2023

Why isn't this B. Is it because of the double == signs?