version 1.18, 2003/09/02 18:50:07 |
version 1.19, 2004/08/18 21:24:27 |
|
|
.Nd display who is logged in |
.Nd display who is logged in |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm who |
.Nm who |
.Op Fl mqTuH |
.Op Fl HmqTu |
.Op Ar file |
.Op Ar file |
.Nm who |
.Nm who |
.Ar am i |
.Ar am i |
|
|
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
|
.It Fl H |
|
Write column headings above the regular output. |
.It Fl m |
.It Fl m |
Only print information about the current terminal. |
Only print information about the current terminal. |
This is the |
This is the |
|
|
if a bad line is encountered. |
if a bad line is encountered. |
.It Fl u |
.It Fl u |
Print the idle time for each user. |
Print the idle time for each user. |
.It Fl H |
|
Write column headings above the regular output. |
|
.It Ar \&am I |
.It Ar \&am I |
Returns the invoker's real user name. |
Returns the invoker's real user name. |
.It Ar file |
.It Ar file |
|
|
.Xr last 1 , |
.Xr last 1 , |
.Xr mesg 1 , |
.Xr mesg 1 , |
.Xr users 1 , |
.Xr users 1 , |
|
.Xr w 1 , |
.Xr getuid 2 , |
.Xr getuid 2 , |
.Xr utmp 5 |
.Xr utmp 5 |
.Sh STANDARDS |
.Sh STANDARDS |