On Mon, Jun 03, 2002 at 11:38:06PM +0300, Sami Haahtinen wrote: > On Mon, Jun 03, 2002 at 10:31:22PM +0200, Guido Hennecke wrote: > > lsof -Pi | grep <portnumber> > > better yet -- lsof -Pi :<portnumber> > > this reminds me of the 'oh, so familiar', Useless Use of <programname> > -awards from usenet =)
I contest this! "Useless Use" is about overlooking an idiom that is both concise and elegant--not about knowing every option of every utility. I would claim that using a standard tool like grep to filter the output of lsof is, in most cases, more flexible, easier to understand and remember, and more unixish than -i. Sorry for the diversion. :-) Andrew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]