version 1.20, 2003/06/03 02:56:09 |
version 1.21, 2004/06/16 22:30:07 |
|
|
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm last |
.Nm last |
.Op Fl csT |
.Op Fl csT |
.Op Fl Ns Ar n |
.Op Fl Ns Ar number |
.Op Fl f Ar file |
.Op Fl f Ar file |
.Op Fl h Ar host |
.Op Fl h Ar host |
|
.Op Fl n Ar number |
.Op Fl t Ar tty |
.Op Fl t Ar tty |
.Op Fl d Ar [[[CC]YY]MMDD]hhmm[.SS] |
.Op Fl d Ar [[[CC]YY]MMDD]hhmm[.SS] |
.Op Ar user ... |
.Op Ar user ... |
|
|
will so indicate. |
will so indicate. |
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width "-n number" |
|
.It Fl Ns Ar number |
|
Same as the |
|
.Fl n |
|
option (deprecated). |
.It Fl c |
.It Fl c |
Calculates the total time displayed and prints it after the output. |
Calculates the total time displayed and prints it after the output. |
.It Fl f Ar file |
.It Fl f Ar file |
|
|
.Ar file |
.Ar file |
instead of the default, |
instead of the default, |
.Pa /var/log/wtmp . |
.Pa /var/log/wtmp . |
.It Fl Ar n |
.It Fl n Ar number |
Limits the report to |
Limits the report to |
.Ar n |
.Ar number |
lines. |
lines. |
.It Fl s |
.It Fl s |
Display time values in seconds since the epoch, instead of formatted dates. |
Display time values in seconds since the epoch, instead of formatted dates. |