124
Display specific username
To know the log in details of a specific user, use the username as argument of last command.
Syntax:
Example:
last <username>
Look at the above snapshot, it displays log in information only about user sssit.
Display reboot information
To know the reboot details, use following command
Syntax:
Look at the above snapshot, it displays all the reboot information.
Display specific pts
Make pts as an argument of the last command to print information about the specific pts.
Syntax:
Example:
last pts/0
Look at the above snapshot, here you can see down in line 5. It denotes that user was logged in
from specific time until the system is reboot or shutdown.
Next TopicLinux Last Shutdown Time