84 lines
2.3 KiB
Groff
84 lines
2.3 KiB
Groff
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
|
|
.TH WHO "1" "April 2025" "GNU coreutils 9.7" "User Commands"
|
|
.SH NAME
|
|
who \- show who is logged on
|
|
.SH SYNOPSIS
|
|
.B who
|
|
[\fI\,OPTION\/\fR]... [ \fI\,FILE | ARG1 ARG2 \/\fR]
|
|
.SH DESCRIPTION
|
|
.\" Add any additional description here
|
|
.PP
|
|
Print information about users who are currently logged in.
|
|
.TP
|
|
\fB\-a\fR, \fB\-\-all\fR
|
|
same as \fB\-b\fR \fB\-d\fR \fB\-\-login\fR \fB\-p\fR \fB\-r\fR \fB\-t\fR \fB\-T\fR \fB\-u\fR
|
|
.TP
|
|
\fB\-b\fR, \fB\-\-boot\fR
|
|
time of last system boot
|
|
.TP
|
|
\fB\-d\fR, \fB\-\-dead\fR
|
|
print dead processes
|
|
.TP
|
|
\fB\-H\fR, \fB\-\-heading\fR
|
|
print line of column headings
|
|
.TP
|
|
\fB\-l\fR, \fB\-\-login\fR
|
|
print system login processes
|
|
.TP
|
|
\fB\-\-lookup\fR
|
|
attempt to canonicalize hostnames via DNS
|
|
.TP
|
|
\fB\-m\fR
|
|
only hostname and user associated with stdin
|
|
.TP
|
|
\fB\-p\fR, \fB\-\-process\fR
|
|
print active processes spawned by init
|
|
.TP
|
|
\fB\-q\fR, \fB\-\-count\fR
|
|
all login names and number of users logged on
|
|
.TP
|
|
\fB\-r\fR, \fB\-\-runlevel\fR
|
|
print current runlevel
|
|
.TP
|
|
\fB\-s\fR, \fB\-\-short\fR
|
|
print only name, line, and time (default)
|
|
.TP
|
|
\fB\-t\fR, \fB\-\-time\fR
|
|
print last system clock change
|
|
.TP
|
|
\fB\-T\fR, \fB\-w\fR, \fB\-\-mesg\fR
|
|
add user's message status as +, \- or ?
|
|
.TP
|
|
\fB\-u\fR, \fB\-\-users\fR
|
|
list users logged in
|
|
.TP
|
|
\fB\-\-message\fR
|
|
same as \fB\-T\fR
|
|
.TP
|
|
\fB\-\-writable\fR
|
|
same as \fB\-T\fR
|
|
.TP
|
|
\fB\-\-help\fR
|
|
display this help and exit
|
|
.TP
|
|
\fB\-\-version\fR
|
|
output version information and exit
|
|
.PP
|
|
If FILE is not specified, use \fI\,/var/run/utmp\/\fP. \fI\,/var/log/wtmp\/\fP as FILE is common.
|
|
If ARG1 ARG2 given, \fB\-m\fR presumed: 'am i' or 'mom likes' are usual.
|
|
.SH AUTHOR
|
|
Written by Joseph Arceneaux, David MacKenzie, and Michael Stone.
|
|
.SH "REPORTING BUGS"
|
|
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
|
|
.br
|
|
Report any translation bugs to <https://translationproject.org/team/>
|
|
.SH COPYRIGHT
|
|
Copyright \(co 2025 Free Software Foundation, Inc.
|
|
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
|
|
.br
|
|
This is free software: you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law.
|
|
.SH "SEE ALSO"
|
|
Full documentation <https://www.gnu.org/software/coreutils/who>
|
|
.br
|
|
or available locally via: info \(aq(coreutils) who invocation\(aq
|