Just a FYI...Windows does have an equivalant of the 'grep' command. FIND
performs some basic grep functionality while FINDSTR allows you do more
complex pattern matching. So to execute the port identification command in
Win2k, you could also use:
netstat -an | find /I "listen"
You never know when you'll need it!
- kristian
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 1:05 PM
To: JRun-Talk
Subject: Re: netstat, grep, etc
Hi,
I had forgotten that I had the cygwin tools installed. :-) I second
Jeff's comments below. The cygwin tools are a must-have item for any
good NT/2K administrator.
--Sam
[EMAIL PROTECTED] wrote:
>One of the reasons I prefer unix over windows is the command
>line interface. With knowledge of a few commands, you can get
>an amazing amount of information.
>
>There is a toolset that provides many unix commands for windows
>operating systems, for those of you that don't like pointing and
>clicking all the time:
>
>http://sources.redhat.com/cygwin/
>
>For those of you that have a unix background but must work
>in a windows environment, this is really a must see.
>
>
>
>charles arehart wrote:
>
>>Well, the netstat works in Win2k, but not the grep. :-) At least now in
my
>>Win2k Pro. And while this is still not the list of unused ports I was
>>originally seeking, it's cool to know that there's such an easy way to get
>>those that are in use.
>>
>>/charlie
>>
>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>>Sent: Monday, December 17, 2001 12:35 PM
>>To: JRun-Talk
>>Subject: Re: JRun-Talk-List V1 #7
>>
>>Jeff Ramin <[EMAIL PROTECTED]> wrote:
>>
>>>For those of you running unix, to see what ports currently
>>>have servers using them, just type:
>>>
>>>netstat -an | grep -i listen
>>>
>>This works in Windows 2000 as well.
>>
>>--Sam
>>
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists