LAST.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH LAST 1
- .SH NAME
- last - display recent on-line session records
- .SH SYNOPSIS
- fBlastfR [fB-f fIfilefR]fR [fB-rfR] [fB-fInfR] [fInamefR] [fIttyfR] ...fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-f" "Use fIfilefR instead of /usr/adm/wtmp"
- .FL "-r" "Search backwards only to last reboot"
- .FL "-fInfP" "Print a maximum of fInfR lines"
- .SH EXAMPLES
- .EX "last reboot" "When was the system last rebooted?"
- .EX "last ast" "When was the last login for ast?"
- .EX "last -10 tty00 tty01" "Display last 10 logins on tty00 or tty01"
- .SH DESCRIPTION
- .PP
- .I Last
- Searches backward through the login administration file (default is
- fI/usr/adm/wtmpfR), printing information about previous logins and
- reboots.
- During a long search, the SIGQUIT signal (CTRL-\) causes fIlastfR to
- display how far back it has gone; it then continues.
- .SH "SEE ALSO"
- .BR login (1).