PrepAway - Latest Free Exam Questions & Answers

Which of the following SHELL commands displays currently logged-in users and their tasks?

Which of the following SHELL commands displays currently logged-in users and their tasks?

PrepAway - Latest Free Exam Questions & Answers

A.
w

B.
finger

C.
whoami

D.
who

Explanation:

The w command displays currently logged-in users and their tasks.
Answer option C is incorrect. The whoami command displays the user name of the current user.
Answer option D is incorrect. The who command displays currently logged-in users. It does not
display their tasks.
Answer option B is incorrect. The finger command displays information on system users.


Leave a Reply