CompTIA Exam Questions

Which of the following commands searches the “/var/log/wtmp” file and displays who has l

A system administrator routinely needs to see the list of who has logged in and logged 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?

A.
log –list

B.
who

C.
w

D.
last