No subject


Fri Jan 31 06:23:24 EST 2014


>From suter  Fri Dec  7 13:00:36 2001
Return-Path: <majordom at caliburn.humbug.org.au>
Received: from diadora.client.uq.net.au (diadora-2 [10.0.1.2])
	by zwitterion.humbug.org.au (8.12.1/8.12.1/Debian -2) with ESMTP id fB730ZNT019464
	for <suter at zwitterion.humbug.org.au>; Fri, 7 Dec 2001 13:00:36 +1000
Received: from caliburn (mail at caliburn.humbug.org.au [203.15.51.6])
	by diadora.client.uq.net.au (8.12.1/8.12.1/Debian -2) with ESMTP id fB730Zvm005906
	for <suter at zwitterion.humbug.org.au>; Fri, 7 Dec 2001 13:00:35 +1000
Received: from majordom by caliburn with local (Exim 3.12 #1 (Debian))
	id 16CB2J-0007CE-00
	for <general-outgoing at lists.humbug.org.au>; Fri, 07 Dec 2001 12:46:51 +1000
Received: from c20958.rochd1.qld.optusnet.com.au
	([203.164.198.20] helo=zwitterion.humbug.org.au ident=root)
	by caliburn with esmtp (Exim 3.12 #1 (Debian))
	id 16CB2F-0007C9-00
	for <general at lists.humbug.org.au>; Fri, 07 Dec 2001 12:46:47 +1000
Received: from zwitterion.humbug.org.au (IDENT:suter at localhost [127.0.0.1])
	by zwitterion.humbug.org.au (8.12.1/8.12.1/Debian -2) with ESMTP id fB72klNT019218
	for <general at lists.humbug.org.au>; Fri, 7 Dec 2001 12:46:47 +1000
Received: (from suter at localhost)
	by zwitterion.humbug.org.au (8.12.1/8.12.1/Debian -2) id fB72kldO019216
	for general at lists.humbug.org.au; Fri, 7 Dec 2001 12:46:47 +1000
From: Mark Suter <suter at zwitterion.humbug.org.au>
Date: Fri, 7 Dec 2001 12:46:47 +1000
To: Humbug General <general at lists.humbug.org.au>
Subject: Re: [H-GEN] Re: [H-CHAT] top ten *nix utilities?
Message-ID: <20011207024647.GM32692 at zwitterion.humbug.org.au>
Mail-Followup-To: Humbug General <general at lists.humbug.org.au>
References: <Pine.LNX.3.96.1011206222018.441B-100000 at avon.timetraveller.org> <01120710233700.03069 at localhost.localdomain> <20011207100323.A3154 at freezer.home>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20011207100323.A3154 at freezer.home>
Precedence: bulk
Reply-To: general at lists.humbug.org.au
X-Loop: general at lists.humbug.org.au
List-Help: <mailto:majordomo at lists.humbug.org.au?subject=help>
List-Post: <mailto:general at lists.humbug.org.au>
List-Subscribe: <mailto: general-request at lists.humbug.org.au?subject=subscribe>
List-Id: semi-serious discussions about Humbug and Unix-related topics <general at lists.humbug.org.au>
List-Unsubscribe: <mailto: general-request at lists.humbug.org.au?subject=unsubscribe>
List-Archive: <http://archive.humbug.org.au/humbug-general/>
Sender: Majordomo <majordom at caliburn.humbug.org.au>
Status: RO
Content-Length: 1347
Lines: 41

[ Humbug *General* list - semi-serious discussions about Humbug and  ]
[ Unix-related topics.  Please observe the list's charter.           ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]

Folks,

Jason answered Matthew's question (below) with a perl script.

> was just wondering, what would be the top ten (favourite)
> command line utilities? (excluding basic commands cd, mv, cp,
> ls etc...)

Having just seen some tiny perl scripts to emulate common perl
utilities, e.g., "perl -pe11..exit" replaces "head", I thought
Jason's perl script a little to long. The following uses those
command line utilities to produce the report of my history.

    $ perl -lne'/^(?:sudo )?(\S+)/ and print $1' ~/.bash_history|sort|uniq -c|sort -rn

     34	ls
     23	clear
     18	vi
     18	perl
     15	cat
     12	cd
      9	host
      6	ssh
      6	less
      6	apt-cache

Yours sincerely,

-- Mark John Suter  | I know that you  believe  you understand
suter at humbug.org.au | what you think I said, but I am not sure
gpg key id F2FEBB36 | you realise that what you  heard  is not
mobile 0411 262 316 | what I meant.        Robert J. McCloskey

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list