Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ last(1) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acct(1M)

utmp(4)




last(1) last(1)
NAME last - display login and logout times for each user of the system SYNOPSIS last [name ...] [tty ...] DESCRIPTION last will look back in the wtmp file which records all lo- gins and logouts for information about a user, a terminal or any group of users and terminals. Arguments specify names of users or terminals of interest. Names of terminals may be given fully or abbreviated. For example, last 0 is the same as last tty0. If multiple arguments are given, the in- formation which applies to any of the arguments is printed. For example, last root console would list all of ``root's'' sessions as well as all sessions on the console terminal. last reports the sessions of the specified users and termi- nals, most recent first, indicating start times, duration, and terminal for each. If the session is still continuing or was cut short by a reboot, last so indicates. EXAMPLES last reboot will give an indication of mean time between reboots of the system. last with no arguments prints a record of all logins and lo- gouts, in reverse order. Since last can generate a great deal of output, piping it through the more program for screen viewing is advised. If last is interrupted with an Interrupt signal, (generated by CONTROL-C) it indicates how far the search has progressed in wtmp. If interrupted with a quit signal (generated by a CONTROL-\), last exits and dumps core. CONTROL-D (EOF) signal does nothing. Therefore exit grace- fully from last with an interrupt signal. FILES /usr/bin/last /etc/wtmp SEE ALSO acct(1M), utmp(4). April, 1990 1

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026