BSD 3 development
[unix-history] / usr / man / man1 / last.1
CommitLineData
9119bba0
HK
1.TH LAST 1 2/24/79
2.UC
3.SH NAME
4last \- indicate last logins of users and teletypes
5.SH SYNOPSIS
6.B last
7[
8name ...
9] [
10tty ...
11]
12.SH DESCRIPTION
13.I Last
14will look back in the
15.I wtmp
16file which records all logins and logouts for information about
17a user, a teletype or any group of users and teletypes.
18Arguments specify names of users or teletypes of interest.
19Names of teletypes may be given fully or abbreviated.
20For example `last 0' is the same as `last tty0'.
21If multiple arguments are given, the information which applies
22to any of the arguments is printed. For example `last root console'
23would list all of "root's" sessions as well as all sessions
24on the console terminal.
25.I Last
26will print the sessions of the specified users and teletypes,
27most recent first, indicating the times at which the session
28began, the duration of the session, and the teletype which the
29session took place on.
30If the session is still continuing or was cut short by a crash,
31.I last
32so indicates.
33.PP
34The teletype
35.B tty~
36records the crashes of the system; thus
37.DT
38.PP
39 last tty~
40.PP
41will give an indication of the reliability of the system.
42.PP
43.I Last
44with no arguments prints a record of all logins and logouts, in
45reverse order.
46.PP
47If
48.I last
49is interrupted, it indicates how far the search has progressed
50in
51.I wtmp.
52.SH FILES
53.DT
54/usr/adm/wtmp login data base
55.SH SEE\ ALSO
56ac(1m), wtmp(5)
57.SH AUTHOR
58Howard Katseff
59.SH BUGS