|
|
1.1 ! root 1: .\" @(#)who.1 6.2 (Berkeley) 12/10/86 ! 2: .\" ! 3: .TH WHO 1 "December 10, 1986" ! 4: .AT 3 ! 5: .SH NAME ! 6: who \- who is on the system ! 7: .SH SYNOPSIS ! 8: .B who ! 9: [ who-file ] [ ! 10: .B "am I" ! 11: ] ! 12: .SH DESCRIPTION ! 13: \fIWho,\fP without any argument, reads the /etc/utmp file, ! 14: and lists the login name, terminal name, and login time for each ! 15: user currently logged into the system. If a single argument is ! 16: given, \fIwho\fP uses that file instead of /etc/utmp. Typically, ! 17: that file will be /usr/adm/wtmp, which contains a record of all ! 18: the logins, logouts, crashes, shutdowns and time changes since it ! 19: was created. In either case, each login will be listed with the ! 20: user name, the terminal name (with "/dev/" suppressed), login date ! 21: and time, and, if applicable, the host logged in from. ! 22: .PP ! 23: If /usr/adm/wtmp is being used as the file, the user name may be empty ! 24: or one of the special characters '|', '}' and '~'. Logouts produce ! 25: an output line without any user name. For more information on the ! 26: special characters, see utmp(5). ! 27: .PP ! 28: With two arguments, as in `who am I' (and also `who are you'), ! 29: \fIwho\fP tells you who you are logged in as. ! 30: .SH FILES ! 31: .DT ! 32: /etc/utmp ! 33: .br ! 34: /usr/adm/wtmp ! 35: .SH "SEE ALSO" ! 36: last(1), users(1), getuid(2), utmp(5)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.