who.1
来自「unix v7是最后一个广泛发布的研究型UNIX版本」· 1 代码 · 共 44 行
1
44 行
.TH WHO 1 .SH NAMEwho \- who is on the system.SH SYNOPSIS.B who[ who-file ] [.B "am I"].SH DESCRIPTION.I Who,without an argument,lists the login name, terminal name, and login timefor each current UNIX user..PPWithout an argument,.I whoexamines the /etc/utmpfile to obtain its information.If a file is given, that file is examined.Typically the given file will be /usr/adm/wtmp,which contains a record of all the logins since itwas created.Then.I wholistslogins, logouts, and crashes since the creation ofthe wtmp file.Each login is listed with user name,terminal name (with `/dev/'suppressed),and date and time.When an argument is given, logouts produce a similar line without a user name.Reboots produce a line with `x' in the place of the device name,and a fossil time indicative of when the system went down..PPWith two arguments,as in `who am I' (and also `who are you'),.I whotells who you are logged in as..SH FILES/etc/utmp.SH "SEE ALSO"getuid(2), utmp(5)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?