From 7b4f8c2d20701dfd38db5582fe5260c2cf5eb301 Mon Sep 17 00:00:00 2001 From: Dennis Ritchie Date: Mon, 12 Feb 1973 07:57:07 -0500 Subject: [PATCH] Research V3 development Work on file man/man1/who.1 Co-Authored-By: Ken Thompson Synthesized-from: v3 --- man/man1/who.1 | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 man/man1/who.1 diff --git a/man/man1/who.1 b/man/man1/who.1 new file mode 100644 index 0000000000..61dd392b5e --- /dev/null +++ b/man/man1/who.1 @@ -0,0 +1,42 @@ +.pa 1 +.he 'WHO (I)'3/15/72'WHO (I)' +.ti 0 +NAME who -- who is on the system +.sp +.ti 0 +SYNOPSIS who___ [ who-file ] +.sp +.ti 0 +DESCRIPTION who___, without an argument, +lists the name, typewriter channel, and login time +for each current UNIX user. + +Without an argument, +who___ examines the /tmp/utmp_________ +file to obtain its information. +If a file is given, that file is examined. +Typically the given file will be /tmp/wtmp_________, +which contains a record of all the logins since it +was created. +Then who___ will list +logins, logouts, and crashes since the creation of +the wtmp file. + +Each login is listed with user name, last character +of input device name (with /dev/tty________ suppressed), +date and time. +Certain logouts produce a similar line without a user name. +Reboots produce a line with "x" in the place of the device name, +and a fossil time indicative of when the system went down. +.sp +.ti 0 +FILES /tmp/utmp +.sp +.ti 0 +SEE ALSO login(I), init(VII) +.sp +.ti 0 +DIAGNOSTICS "?" if a named file cannot be read. +.sp +.ti 0 +BUGS -- -- 2.20.1