WHO.1
上传用户:jnzhq888
上传日期:2007-01-18
资源大小:51694k
文件大小:1k
- .TH WHO 1
- .SH NAME
- who - print list of currently logged in users
- .SH SYNOPSIS
- fBwhofR [fIfilefR]fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH EXAMPLES
- .EX "who " "Print user names, terminals and times"
- .SH DESCRIPTION
- .PP
- fIWhofR prints a list of currently logged in users. For each one,
- the user name, terminal, and login time is printed.
- This program gets its information from the file fI/etc/utmpfR, which
- is updated by init and login.
- If the file does not exist, neither of these will create it, and
- fIwhofR will not work. Note that if you decide to create an empty
- fI/usr/adm/wtmpfR to enable the login accounting, it will grow forever and
- eventually fill up your disk unless you manually truncate it from time to time.
- If an optional file name is provided, the logins in that file will be printed.
- .SH "SEE ALSO"
- .BR utmp (5).