


LAST,LASTB(8)	Linux Programmer's Manual	LAST,LASTB(8)


NNAAMMEE
       last, lastb - show listing of last logged in users

SSYYNNOOPPSSIISS
       llaasstt [--RR] [--_n_u_m] [_n_a_m_e_._._.]  [_t_t_y_._._.]
       llaassttbb [--RR] [--_n_u_m] [_n_a_m_e_._._.]  [_t_t_y_._._.]

DDEESSCCRRIIPPTTIIOONN
       LLaasstt  searches back through the file //uussrr//aaddmm//wwttmmpp to show
       a list of all users logged in (and out)	since  that  file
       was  created.   Names of users and tty's can be given, and
       then llaasstt will show only those entries matching the  argu-
       ments.	Names  of ttys can be abbreviated, thus llaasstt 00 is
       the same as llaasstt ttttyy00.  When llaasstt catches a SIGINT (gener-
       ated by the interrupt key, usually control-C) or a SIGQUIT
       (generated by the quit keys, sually control-\)  llaasstt  will
       show  how far it was searching through the file and in the
       case of SIGINT last wwiillll tteerrmmiinnaattee..

       The pseudo user rreebboooott logs in each  time  the  system  is
       rebooted.  Thus llaasstt rreebboooott will show a log of all reboots
       since the log file was created.

       LLaassttbb is the same as llaasstt, except that it shows a  log  of
       the  file  //eettcc//bbttmmpp  which  contains  all  the	bad login
       attempts.

OOPPTTIIOONNSS
       --_n_u_m   This is a count telling llaasstt howmany lines to show.

       --RR     With  this  flag,	the hhoossttnnaammee field will be shown
	      also.

AAUUTTHHOORR
       Miquel van Smoorenburg, miquels@drinkel.nl.mugnet.org

SSEEEE AALLSSOO
       shutdown(8), login(1), init(1)



















			   May 13, 1993				1


