From owner-freebsd-arch@FreeBSD.ORG Thu Mar 25 21:04:09 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 127FC16A4CE for ; Thu, 25 Mar 2004 21:04:09 -0800 (PST) Received: from praetor.linc-it.com (adsl-068-157-070-217.sip.jan.bellsouth.net [68.157.70.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9673443D2D for ; Thu, 25 Mar 2004 21:04:08 -0800 (PST) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-19-147-6.jan.bellsouth.net [68.19.147.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by praetor.linc-it.com (Postfix) with ESMTP id 55E7A155E6; Thu, 25 Mar 2004 23:04:07 -0600 (CST) Received: by mortis.over-yonder.net (Postfix, from userid 100) id 71B2320F2A; Thu, 25 Mar 2004 23:04:05 -0600 (CST) Date: Thu, 25 Mar 2004 23:04:05 -0600 From: "Matthew D. Fuller" To: Peter Jeremy Message-ID: <20040326050404.GA1879@over-yonder.net> References: <20040325065314.GA64827@regency.nsu.ru> <20040325084837.GA57169@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040325084837.GA57169@server.vk2pj.dyndns.org> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.6i-fullermd.2 cc: Alexey Dokuchaev cc: arch@freebsd.org Subject: Re: Adding `pgrep' and `pkill' to /usr/bin X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2004 05:04:09 -0000 On Thu, Mar 25, 2004 at 07:48:37PM +1100 I heard the voice of Peter Jeremy, and lo! it spake thus: > > At another level, Unices tend to differ most when it comes to > administration utilities. This requires sysadmins to mentally change > gears as they move between xterm (should I type "ps -ef" or "ps -ax" > into this terminal?). Adding (useful) sysadmin utilities from one of > the more common Unices would seem to be A Good Thing. That's why you have your shell rc file set up aliases. A few snips from mine: ----- case "FREEBSD": case "UNKNOWN": alias p 'ps -agOuser' alias psa 'ps -gaxuww \!* | $PAGER' breaksw case "SOLARIS": alias p '/usr/ucb/ps -agu' alias psa '/usr/ucb/ps -gaxuww \!* | $PAGER' breaksw case "LINUX" alias p 'ps ua' alias psa 'ps axuww \!* | $PAGER' breaksw ----- And so on. True, not perhaps as nice as them actually being the same, but what fun would THAT be? :) -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet"