Exam 010-160 Topic 4 Question 31 Discussion

Actual exam question for Lpi's 010-160 exam
Question #: 31
Topic #: 4
Which of the following outputs could stem from the command last?

Suggested Answer: E Vote an answer

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 created1. The output of the last command shows the username, the terminal, the IP address, the login time and date, and the duration of the session for each record2. The option E is the only one that matches this format. The other options are not related to the last command. Option A shows a list of commands executed by a user. Option B shows the password change information for a user. Option C shows the last login information for a user. Option D shows the mount information for a filesystem. Reference:
Linux Essentials Version 1.6 Objectives3, Topic 1.4: Command Line Basics, Subtopic: Basic Shell Commands Linux last Command Tutorial for Beginners (8 Examples)4 Linux Essentials Version 1.6 Exam Preparation Guide, Section 1.4: Command Line Basics, Page 16

by John at Mar 26, 2026, 11:20 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10