nerdexam
Oracle

1Z0-409 · Question #32

As user smith you want the CPU utilization of all the users logged on to server1 server. You want the information available automatically as soon as you login to the bash login shell and want the…

The correct answer is C. Add the w command to ~/.bash_profile file. See the full explanation below for the reasoning.

Question

As user smith you want the CPU utilization of all the users logged on to server1 server. You want the information available automatically as soon as you login to the bash login shell and want the information available only to smith. What would you do on server1, which has all the default shell configuration files, to accomplish the task?

Options

  • AAdd the w command to ~/.profile file.
  • BAdd the who command to ~/.profile file.
  • CAdd the w command to ~/.bash_profile file.
  • DAdd the who command to ~/.bash_profile file.

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    85% (22)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice