[go: up one dir, main page]

last(1) minix man page | unix.com

Man Page: last

Operating Environment: minix

Section: 1

LAST(1) 						      General Commands Manual							   LAST(1)

NAME
last - display recent on-line session records
SYNOPSIS
last [-f file] [-r] [-n] [name] [tty] ...
OPTIONS
-f Use file instead of /usr/adm/wtmp -r Search backwards only to last reboot -n Print a maximum of n lines
EXAMPLES
last reboot # When was the system last rebooted? last ast # When was the last login for ast? last -10 tty00 tty01 # Display last 10 logins on tty00 or tty01
DESCRIPTION
Last Searches backward through the login administration file (default is /usr/adm/wtmp), printing information about previous logins and reboots. During a long search, the SIGQUIT signal (CTRL-) causes last to display how far back it has gone; it then continues.
SEE ALSO
login(1). LAST(1)
Related Man Pages
last(1) - bsd
ac(8) - bsd
last(1) - centos
reboot(8) - minix
last(1) - ultrix
Similar Topics in the Unix Linux Community
Replacing the last character for each line in a file
find the last digits of a string
Select everything between first and last occurrence of same pattern
The last argument contains spaces, how do I get it into a variable?
How to remove the last 3 lines from many files?