SUN
310-200 · Question #216
A user contacts the help desk to report that a script run by the user's department is reporting an error. The script checks for who is logged in. Your first action is to make sure that the file that…
The correct answer is B. /var/adm/utmpx. See the full explanation below for the reasoning.
Question
A user contacts the help desk to report that a script run by the user's department is reporting an error. The script checks for who is logged in. Your first action is to make sure that the file that the who command reads for its output, is present. Which file does the who command read to obtain its output?
Options
- A/var/adm/users
- B/var/adm/utmpx
- C/var/adm/utmp
- D/var/adm/wtmpx
How the community answered
(33 responses)- A6% (2)
- B79% (26)
- C12% (4)
- D3% (1)
Community Discussion
No community discussion yet for this question.