nerdexam
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)
  • A
    75% (18)
  • B
    8% (2)
  • C
    4% (1)
  • D
    13% (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.

Full 101-500 Practice