From owner-freebsd-hackers Thu Feb 15 10:37:47 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA14267 for hackers-outgoing; Thu, 15 Feb 1996 10:37:47 -0800 (PST) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA14262 for ; Thu, 15 Feb 1996 10:37:43 -0800 (PST) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id MAA04251; Thu, 15 Feb 1996 12:35:10 -0600 From: Joe Greco Message-Id: <199602151835.MAA04251@brasil.moneng.mei.com> Subject: Re: Re: An ISP's Wishlist... To: muir@idiom.com (David Muir Sharnoff) Date: Thu, 15 Feb 1996 12:35:10 -0600 (CST) Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199602151559.HAA02342@idiom.com> from "David Muir Sharnoff" at Feb 15, 96 07:59:36 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@FreeBSD.ORG Precedence: bulk > Absolutely nothing if one knows that it exists! > > I've run into this one before: there's a command in a different > version of unix-like OS that has an equivelent, but it isn't > obvious. > > truss/trace/ktrace. > lsof/ofiles/fstat. don't forget Solaris "fuser" > I'm sure there are more. An optional package of "pointer" commands > would be nice. Has to be very careful never to install over something > that exists. > > /usr/local/bin/ofiles: > #!/bin/sh > echo The FreeBSD equivalent is fstat. > > I'm not to bothered about it. I suppose I should do a real RTFM > one of these days -- who knows what I might discover? > > On the other hand, the other day I counted apporimately 1,700 unique > commands in the various bin directories. Don't forget to do all the DOS commands too :-) I've been doing this on Solaria (SunOS 4.1) for years... # ls -l /usr/local/bin/dir -rwxr-xr-x 1 jgreco 187 Sep 10 1992 /usr/local/bin/dir # cat /usr/local/bin/dir #! /bin/sh - ( echo echo "The UNIX command to list files is \"ls\". For more information on the" echo "workings of \"ls\", type \"man ls\" at a shell prompt." echo ls -al $* ) | more Not to mention, "cls", "copy", "era/erase", "fc", "find", "ren", "type", etc... anybody interested in my set of scripts, let me know. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968