Which output is likely produced by the 'last' command?

Prepare for the LPI Linux Essentials 010-160 Test. Study with flashcards and multiple choice questions, each question offers hints and explanations. Get ready to ace your exam!

The 'last' command is designed to display a list of users who have logged into the system, along with the timestamps of their logins and logouts. It reads from the system's login records, providing a chronological account of user activity on the machine. This information is particularly useful for system administrators who need to track user access and monitor when specific users were logged into the system.

The other options do not align with the primary function of the 'last' command. A system uptime report would typically be generated using commands like 'uptime' or 'top', which reflect the elapsed time since the last system reboot. Current CPU load can be checked with tools like 'top' or 'htop', which provide real-time information about CPU utilization. Running system services are usually listed using commands like 'systemctl' or 'service', which display the status of services managed by the system's init system.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy