/var/log/utx.lastlogin
last login database
Indicate last login time of users
lastlogin [--libxo]
[-f
file]
[-rt]
[user ...]
The lastlogin utility will list the last login session of each specified user, or for all users by default. Each line of output contains the user name, the tty from which the session was conducted, any hostname, and the start time for the session.
If more than one user is given, the session information for each user is printed in the order given on the command line. Otherwise, information for all users is printed. By default, the entries are sorted by user name.
The lastlogin utility differs from last(1) in that it only prints information regarding the very last login session. The last login database is never turned over or deleted in standard usage.
The following options are available:
--libxo
Generate output via libxo(3) in a selection of different human and machine readable formats. See xo_options(7) for details on command line arguments.
-f file
Open last login database file instead of the system-wide database.
-r
Print the entries in reverse sorted order.
-t
Sort the elements by last login time, instead of user name.
/var/log/utx.lastlogin
last login database
66 releases since FreeBSD 4.3-RELEASE; the text changed 37 times.
--libxo since FreeBSD 11.3-RELEASE;
-f since FreeBSD 9.0-RELEASE;
-r since FreeBSD 9.0-RELEASE;
-t since FreeBSD 9.0-RELEASE.