Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 1996 21:38:16 -0400 (EDT)
From:      "Adrian T. Filipi-Martin" <atf3r@stretch.cs.virginia.edu>
To:        Leonard Chung <Leonard@pacbell.net>
Cc:        questions@freebsd.org
Subject:   Re: Missing Unix programs?
Message-ID:  <Pine.SUN.3.90.960824212424.9093B-100000@stretch.cs.Virginia.edu>
In-Reply-To: <1.5.4.32.19960824212711.00667528@pacbell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.90.960824212424.9093B-100000>