⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 last.1

📁 Util-linux 软件包包含许多工具。其中比较重要的是加载、卸载、格式化、分区和管理硬盘驱动器
💻 1
字号:
.TH LAST 1 "20 March 1992".SH NAMElast \(em indicate last logins by user or terminal.SH SYNOPSIS.ad l.B last.RB [ \-\fP\fInumber\fP ].RB [ \-f.IR filename ].RB [ \-t.IR tty ].RB [ \-h.IR hostname ].RB [ \-i.IR address ].RB [ \-l ].RB [ \-y ].RI [ name ...].ad b.SH DESCRIPTION\fBLast\fP looks back in the \fBwtmp\fP file which records all loginsand logouts for information about a user, a teletype or any group ofusers and teletypes.  Arguments specify names of users or teletypes ofinterest.  If multiple arguments are given, the information whichapplies to any of the arguments is printed.  For example ``\fBlast rootconsole\fP'' would list all of root's sessions as well as all sessionson the console terminal.  \fBLast\fP displays the sessions of thespecified users and teletypes, most recent first, indicating the timesat which the session began, the duration of the session, and theteletype which the session took place on.  If the session is stillcontinuing or was cut short by a reboot, \fBlast\fP so indicates..LPThe pseudo-user \fBreboot\fP logs in at reboots of the system..LP\fBLast\fP with no arguments displays a record of all logins andlogouts, in reverse order..LPIf \fBlast\fP is interrupted, it indicates how far the search hasprogressed in \fBwtmp\fP.  If interrupted with a quit signal \fBlast\fPindicates how far the search has progressed so far, and the searchcontinues..SH OPTIONS.IP \fB\-\fP\fInumber\fPlimit the number of entries displayed to that specified by \fInumber\fP..IP "\fB\-f\fP \fIfilename\fP"Use \fIfilename\fP as the name of the accounting file instead of.BR /var/log/wtmp ..IP "\fB\-h\fP \fIhostname\fP"List only logins from \fIhostname\fP..IP "\fB\-i\fP \fIIP address\fP""List only logins from \fIIP address\fP..IP "\fB\-l\fP"List IP addresses of remote hosts instead of truncated host names..IP "\fB\-t\fP \fItty\fP"List only logins on \fItty\fP..IP "\fB\-y\fP"Also report year of dates..SH FILES/var/log/wtmp \(em login data base

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -