Which of the following commands can be used to get information about all users who are currently logged into the system? A. which B. who C. who am i D. 1 /u E. None of the above

which
who
who am i
1 /u E. None of the above

The correct answer is C. who.

The who command is used to list all users who are currently logged into the system. It can also be used to list users who have logged in recently, or to list users who are logged into a specific terminal.

The which command is used to find the location of a command.

The who am i command is used to print the current user’s name and username.

The 1 /u command is not a valid command.

Therefore, the correct answer is C. who.

Exit mobile version