After me please:
This is a (log) List of all users last logged in/out and time, system boot etc.
To view it's content use the "last" command to show who has recently logged in and out (date/time)
basic syntax
Code: Select all
last
last (user name)
Note "-f /var/log/wtmp.1" is an example, optional.
Code: Select all
last -f /var/log/wtmp.1
Code: Select all
last root -f /var/log/wtmp.1
Code: Select all
last reboot -f /var/log/wtmp.1
Code: Select all
last -x shutdown -f /var/log/wtmp.1
Code: Select all
last -f /var/run/utmp