Which of the following outputs could stem from the command last?
Which of the following outputs could stem from the command last?
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.
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)
Show a listing of last logged in users. The answer is a sample output.
E. root tty2 Wed May
I didn't understand the relationship when he talks about "the last command". What command is he referring to?
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.