June 2004
Intermediate to advanced
1056 pages
39h 58m
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.
Read now
Unlock full access