last

List information of last user logins. See also: lastb, login. More information: https://manned.org/last.1.

last

last username

last tty1

last | tac

last "system boot"

last --time-format notime|full|iso

last --since -7days

last --dns