From owner-freebsd-questions Sat Aug 24 18:38:27 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA20458 for questions-outgoing; Sat, 24 Aug 1996 18:38:27 -0700 (PDT) Received: from virginia.edu (mars.itc.Virginia.EDU [128.143.2.9]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id SAA20453 for ; Sat, 24 Aug 1996 18:38:25 -0700 (PDT) Received: from mail.cs.virginia.edu by mail.virginia.edu id aa26637; 24 Aug 96 21:38 EDT Received: from stretch.cs.Virginia.edu (atf3r@stretch-fo.cs.Virginia.EDU [128.143.136.14]) by archive.cs.Virginia.EDU (8.7.1/8.6.6) with SMTP id VAA19790; Sat, 24 Aug 1996 21:38:19 -0400 (EDT) Received: by stretch.cs.Virginia.edu (4.1/SMI-2.0) id AA09350; Sat, 24 Aug 96 21:38:16 EDT Date: Sat, 24 Aug 1996 21:38:16 -0400 (EDT) From: "Adrian T. Filipi-Martin" Reply-To: adrian@virginia.edu To: Leonard Chung Cc: questions@freebsd.org Subject: Re: Missing Unix programs? In-Reply-To: <1.5.4.32.19960824212711.00667528@pacbell.net> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 24 Aug 1996, Leonard Chung wrote: > I'm reading a book titled "The Unix Programming Environment", and have > noticed that a few of the commands that the book gives examples for such as > cs, pick, what, and where are either not in the basic FBSD installation > package or have a different meaning (the book says that what "tells who's > logged on and what they are doing", while the man page for what says that > it's used to "show what versionf of object modules were used to construct a > file."). The book's examples are based upon 7th Edition Unix, but the > authors claim that the examples have also been tested out on 4.1BSD unix > with minor modifications. Unfortunately, with some of the programs that > their examples rely upon missing, it has been difficult to make those minor > modifications. :) I have tried looking around in the man pages but to no > avail. > > Is there a package I can install to get these missing programs or find their > renamed equivalents? > > Leonard Hi Leonard, Well, you are reading a useful classic. It's a bit dated though when you get down to minor details. I suspect that the programs you list are presented as examples elsewhere in the book, because I could not find anthing resembling your descriptions/name pairs on several commercial systems. I have not heard of cs, pick appears to be part of MH (a mail system), and what, as far as I know, is part of SCCS (a source code managment system). Don't feel that FreeBSD unique in lacking these commands, because other than what, none of the commercial systems I have access to have them either. Now here are a couple of commands that can do what the "missing commands" you describbed do. "who" or "finger" will tell you who is logged in. "ps" and "w" can tell you who is running what. "type", "which" and "locate" can help you find where a command is located. cheers, Adrian adrian@virginia.edu ---->>>>| Support your local programmer, System Administrator --->>>| STOP Software Patent Abuses NOW! NVL, NIIMS and Telemedicine Labs -->>| For an application and information Member: League for Programming Freedom ->| see: http://www.lpf.org/