LPI
101-500 · Question #501
What output will be displayed when the user fred executes the following command? echo `fred $USER'
The correct answer is A. fred fred. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Shells and Shell Scripting
Question
What output will be displayed when the user fred executes the following command? echo `fred $USER'
Options
- Afred fred
- Bfred /home/fred/
- C`fred $USER'
- Dfred $USER
- E`fred fred'
How the community answered
(24 responses)- A75% (18)
- B8% (2)
- C4% (1)
- D13% (3)
Explanation
You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Topics
#variable expansion#shell quoting#command substitution#echo
Community Discussion
No community discussion yet for this question.