From owner-freebsd-questions Mon Mar 13 1:10:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from kearneys.ca (cr1003527-a.rct1.bc.wave.home.com [24.113.36.145]) by hub.freebsd.org (Postfix) with SMTP id D843137B606 for ; Mon, 13 Mar 2000 01:10:34 -0800 (PST) (envelope-from brent@kearneys.ca) Received: (qmail 24753 invoked by uid 1000); 13 Mar 2000 09:21:45 -0000 Date: Mon, 13 Mar 2000 01:21:45 -0800 From: Brent Kearney To: Dennis Jun Cc: FreeBSD Questions Subject: Re: Does "who" work in FreeBSD? Message-ID: <20000313012145.A24552@kearneys.ca> References: <20000313084359.20976.qmail@web613.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" X-Mailer: Mutt 1.0i In-Reply-To: <20000313084359.20976.qmail@web613.mail.yahoo.com>; from dennisjun@yahoo.com on Mon, Mar 13, 2000 at 12:43:59AM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On Mon, Mar 13, 2000 at 12:43:59AM -0800, Dennis Jun wrote: > Hello! Being new to FreeBSD and UN*X in general, I picked up > a book on UN*X. One of the simple basic commands the author > was explaining about was "who", with all the different > options, such as: -b last reboot, -d dead processes that have > not respawned, -q lists only the user names and a count of > users, and so on. However, when i tried on my recently > installed 3.4-RELEASE box, they didn't work. Now the author > said that certain options aren't present in certain flavours > of UN*X, however, NONE of the options worked for me. Only, > whoami and who /var/run/utmp. Am I doing something wrong? >=20 >=20 Dennis, probably the best source of documentation for system commands is that command's manual page. "man who" will tell you everything that the 'who' command can do. Other commands of interest to the kind of things you mention are "uptime, "w", "last", "netstat", "sockstat". Their man pages will be of use to you as well, of course. Good luck. -Brent --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: TmH43rmCZkDxwYiD1hy2YyRayO+0rJ3B iQA/AwUBOMyzKP5LgQMksPsjEQIYQACfWP5RMELEJh04rIJU8fXB2wSBqqEAoJMH 4nSlXrZAA2KE/ukjFcmuul/l =Joyu -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message