| Developer's Daily | Unix by Example |
| main | java | perl | unix | dev directory | web log |
|
who − show who is logged on |
|
who [OPTION]... [ FILE | ARG1 ARG2 ] |
|
−H, −−heading |
|
print line of column headings |
|
−i, −u, −−idle |
|
add user idle time as HOURS:MINUTES, . or old |
|
−l, −−lookup |
|
attempt to canonicalize hostnames via DNS |
|
−m |
only hostname and user associated with stdin |
|
−q, −−count |
|
all login names and number of users logged on |
|
−s |
(ignored) |
|
−T, −w, −−mesg |
|
add user’s message status as +, - or ? |
|
−−message |
|
same as −T |
|
−−writable |
|
same as −T |
|
−−help |
display this help and exit |
|
−−version |
|
output version information and exit |
|
If FILE is not specified, use /var/run/utmp. /var/log/wtmp as FILE is common. If ARG1 ARG2 given, −m presumed: ‘am i’ or ‘mom likes’ are usual. |
|
Report bugs to <bug-sh-utils@gnu.org>. |
|
The full documentation for who is maintained as a Texinfo manual. If the info and who programs are properly installed at your site, the command |
|
info who |
|
should give you access to the complete manual. |
|
Copyright © 1999 Free Software Foundation, Inc. |