January 2003
Intermediate to advanced
832 pages
32h 40m
English
last
last [options] [users]
Lists information about current and previous login sessions, including username and duration of each session. Sessions are listed one per line, newest first. To view only sessions from select users, specify those usernames in users.
-f
file
Read from log file instead of
/var/log/wtemp, the default.
-h
host
Report only on those sessions initiated from machine host.
-
n
Display only the first n lines of output.
-t
tty
Report only on those sessions initiated from device
tty. To list Aqua logins, for example, specify
console for tty.