nerdexam
LPI

101-500 · Question #501

101-500 Question #501: Real Exam Question with Answer & Explanation

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'

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.

Full 101-500 Practice