XK0-005 · Question #181
An administrator is reviewing suspicious activity on a server and needs to determine which users logged into the system within the past 24 hours. Which of the following commands should the…
The correct answer is A. last. The last command in Linux is used to display the list of all the users logged in and out since the file /var/log/wtmp was created. One or more usernames can be given as an argument to display their login in (and out) time and their host-name. The Linux "who" command lets you…
Question
An administrator is reviewing suspicious activity on a server and needs to determine which users logged into the system within the past 24 hours. Which of the following commands should the administrator run to determine this?
Options
- Alast
- Bwho
- Cid
- Dusermod
How the community answered
(40 responses)- A90% (36)
- B5% (2)
- C3% (1)
- D3% (1)
Explanation
The last command in Linux is used to display the list of all the users logged in and out since the file /var/log/wtmp was created. One or more usernames can be given as an argument to display their login in (and out) time and their host-name. The Linux "who" command lets you display the users currently logged in to your UNIX or Linux operating system.
Topics
Community Discussion
No community discussion yet for this question.