Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

finger(C)

utmp(F)

accton(ADM)

acctcom(ADM)

acct(F)

LAST(C)


     LAST(C)                                    UNIX System V



     Name
          last - indicate last logins of users and teletypes


     Syntax
          last [ -h ] [ -n limit ] [ -t tty ] [ -w wtmpfile ] [ name ]


     Description
          last checks the wtmp file,  which  records  all  logins  and
          logouts  for  information about a user, a serial line or any
          group of users and lines.  Arguments  specify  a  user  name
          and/or tty.

               last -t 01 root

          would list all ``root'' sessions as well as all sessions  on
          /dev/tty01.  last prints the sessions of the specified users
          and ttys, including login name, the line  used,  the  device
          name, the process ID, plus start time and elapsed time.

          last with no arguments prints a record  of  all  logins  and
          logouts, in reverse chronological order.

          The options behave as follows:

          -h   no header.

          -n limit
               limits the report to n lines.

          -t line
               specifies the tty.

          -wwtmpfile
               uses wtmpfile instead of  /etc/wtmp.   Note  that  this
               file must have the same format as /etc/wtmp.


     Files
          /etc/wtmp      login data base


     See Also
          finger(C), utmp(F), accton(ADM), acctcom(ADM), acct(F)


     (printed 8/28/89)                                  LAST(C)

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