CompTIA
XK0-001 · Question #196
A system administrator routinely needs to see the list of who has logged in and out on a machine, as well as their login times. Which of the following commands searches the "var/log/wtmp" file and…
The correct answer is B. last. See the full explanation below for the reasoning.
Question
A system administrator routinely needs to see the list of who has logged in and out on a machine, as well as their login times. Which of the following commands searches the "var/log/wtmp" file and displays who has logged onto the machine and when they logged on?
Options
- Awho
- Blast
- Clog -l
- Dwtmplst
How the community answered
(21 responses)- A10% (2)
- B81% (17)
- C5% (1)
- D5% (1)
Community Discussion
No community discussion yet for this question.