[lug] port in use

j davis davis_compz at hotmail.com
Wed Jun 26 00:50:18 MDT 2002


could you call nmap and grep the output for your port number?
or the word intresting to get a list of all ports listening for
something

jd




>From: Hugh Brown <hugh at vecna.com>
>Reply-To: lug at lug.boulder.co.us
>To: LUG <lug at lug.boulder.co.us>
>Subject: [lug] port in use
>Date: 25 Jun 2002 21:56:14 -0400
>MIME-Version: 1.0
>Received: from [66.54.152.73] by hotmail.com (3.2) with ESMTP id 
>MHotMailBEE26B130018400431A44236984905CE0; Tue, 25 Jun 2002 18:59:47 -0700
>Received: (qmail 18210 invoked by uid 0); 26 Jun 2002 01:59:25 -0000
>Received: from localhost (HELO community.tummy.com) 
>(?8gbgKRTh0cr3B8403DyhKR1oCXTI6z7M?@127.0.0.1)  by localhost with SMTP; 26 
>Jun 2002 01:59:14 -0000
>Received: (qmail 18065 invoked by alias); 26 Jun 2002 01:57:54 -0000
>Received: (qmail 18062 invoked by uid 0); 26 Jun 2002 01:57:40 -0000
>Received: from mail.peakpeak.com (HELO gash2.peakpeak.com) (207.174.178.17) 
>  by community.tummy.com with SMTP; 26 Jun 2002 01:57:36 -0000
>Received: from 0-1pool42-210.nas36.philadelphia1.pa.us.da.qwest.net 
>(0-1pool42-210.nas36.philadelphia1.pa.us.da.qwest.net [65.129.42.210])by 
>gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id TAA14266for 
><lug at lug.boulder.co.us>; Tue, 25 Jun 2002 19:57:36 -0600
>From lug-admin at lug.boulder.co.us Tue, 25 Jun 2002 19:01:46 -0700
>Return-Path: <alias-blug_dom-lug-owner at lug.boulder.co.us>
>Delivered-To: mailman-lists.lug.boulder.co.us-lug at lists.lug.boulder.co.us
>Delivered-To: alias-blug_dom-lug at lug.boulder.co.us
>X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6)
>Message-Id: <1025056594.1801.28.camel at zonko>
>Sender: lug-admin at lug.boulder.co.us
>Errors-To: lug-admin at lug.boulder.co.us
>X-BeenThere: lug at lug.boulder.co.us
>X-Mailman-Version: 2.0.11
>Precedence: bulk
>List-Help: <mailto:lug-request at lug.boulder.co.us?subject=help>
>List-Post: <mailto:lug at lug.boulder.co.us>
>List-Subscribe: 
><http://lists.lug.boulder.co.us/mailman/listinfo/lug>,<mailto:lug-request at lug.boulder.co.us?subject=subscribe>
>List-Id: Boulder (Colorado) Linux Users Group -- General Mailing List 
><lug.lug.boulder.co.us>
>List-Unsubscribe: 
><http://lists.lug.boulder.co.us/mailman/listinfo/lug>,<mailto:lug-request at lug.boulder.co.us?subject=unsubscribe>
>List-Archive: <http://lists.lug.boulder.co.us/pipermail/lug/>
>
>What's a portable way to find out if a port is in use from a shell
>script?
>
>The output from netstat  on solaris and linux is fairly different.
>
>Hugh
>
>
>
>_______________________________________________
>Web Page:  http://lug.boulder.co.us
>Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>Join us on IRC: lug.boulder.co.us port=6667 channel=#colug


thanks,
jd

jd at taproot.bz
http://www.taproot.bz

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com




More information about the LUG mailing list