nerdexam
LPI

101-500 · Question #305

You are logged in as user tux1, but now you want to switch users to tux2 with tux2's environment. How would you do this?

The correct answer is C. su - tux2. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

GNU and Unix Commands

Question

You are logged in as user tux1, but now you want to switch users to tux2 with tux2's environment. How would you do this?

Options

  • Asu tux2
  • Bsu -e tux2
  • Csu - tux2
  • Dsu -m tux2
  • Esu -f tux2

How the community answered

(23 responses)
  • A
    9% (2)
  • C
    87% (20)
  • E
    4% (1)

Explanation

You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Topics

#su command#user switching#login shell#environment variables

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice