Unix/Linux Go Back    

RedHat 9 (Linux i386) - man page for lastlog (redhat section 8)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

LASTLOG(8)									       LASTLOG(8)

       lastlog - examine lastlog file

       lastlog [<-u|--user> login-name]
	       [<-t|--time> days] [<-h|--help>]

       lastlog	formats and prints the contents of the last login log /var/log/lastlog file . The
       login-name, port, and last login time will be printed. The default (no flags) causes last-
       log entries to be printed, sorted by the numerical UID.

       -u, --user login-name will cause the lastlog record for
	      login-name only to be printed

       -t, --time days will cause only the lastlogins more recent
	      han fIdays to be printed

       -h, --help print a one-line help message and exit.

       The -t flag overrides the use of -u.

       If  the	user  has  never  logged  in  the message "**Never logged in**" will be displayed
       instead of the port and time.

       /var/log/lastlog - lastlog logging file

       Large gaps in uid numbers will cause the lastlog program to run longer with no  output  to
       the screen (i.e. if mmdf=800 and last uid=170, program will appear to hang as it processes
       uid 171-799).

       Julianne Frances Haugh (jockgrrl@ix.netcom.com)	Phillip Street

Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 06:29 PM.