BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 010-160 Exam - Topic 4 Question 73 Discussion

Posted by Tarra on Oct 17, 2026 at 10:00 PM

Which of the following outputs could stem from the command last?

Suggested Answer: E

The last command in Linux is used to display the list of all the users logged in and out since the file/var/log/wtmpwas 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


Get Premium 010-160 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
9 comments · newest first
RE
Ressie 3 days ago
D seems totally unrelated to last, right?
HE
Herminia 8 days ago
Wait, can last really show password change dates?
GR
Gracia 13 days ago
I agree, C is spot on!
SH
Shantay 18 days ago
A is not from last, that's for sure.
JA
Janine 23 days ago
C is definitely a valid output from last.
MA
Marylin 29 days ago
I remember something about system logs, but I don't think option D fits with what last does. It seems more related to filesystem events.
LO
Loren 1 month ago
I definitely recall that last displays user sessions, so I would lean towards C and E, but I’m not 100% confident.
WA
Wai 1 month ago
I'm not entirely sure, but I remember practicing with similar questions, and I feel like option B is about password changes, not logins.
PE
Pearly 1 month ago
I think the command last shows login history, so maybe options C and E could be correct?
0/2000 characters

Save Cancel