010-160 Exam QuestionsBrowse all questions from this exam

010-160 Exam - Question 9


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

Show Answer
Correct Answer: E

The command 'last' in Unix/Linux environments shows a listing of last logged in users. The format of the output includes the username, terminal, login and logout dates and times, and the duration of the login session. Option E shows this format with the user 'root', terminal 'tty2', and login and logout times on 'Wed May 17'. Therefore, option E is the correct answer.

Discussion

4 comments
Sign in to comment
beazzlebubOption: E
Jul 24, 2021

Answer is E: From Man page: NAME last, lastb - show a listing of last logged in users Sample output: root tty7 :0 Fri Dec 11 16:41 - 17:22 (00:41)

linvidiaOption: E
Oct 26, 2022

Show a listing of last logged in users. The answer is a sample output.

VovanichOption: E
Dec 20, 2022

E. root tty2 Wed May

celsofilho
May 20, 2023

I didn't understand the relationship when he talks about "the last command". What command is he referring to?

totto1230
Jul 3, 2023

It literally refers to the command "last"; if you type "last" in a linux/unix terminal, you will get the output of the option E.