Jump to content

findstr


Recommended Posts

Guest Jason Sands
Posted

I currently use the following for looking at some computers network

connections, but want to eliminate any 127.0.0.1 connections listed

 

 

netstat -no | findstr ESTABLISHED > desktop\netstat.txt

 

 

TIA

JHS

  • Replies 2
  • Created
  • Last Reply

Popular Days

Guest Pegasus \(MVP\)
Posted

Re: findstr

 

 

"Jason Sands" <jason.sands@gmail.com> wrote in message

news:1186400171.714995.158090@l70g2000hse.googlegroups.com...

>I currently use the following for looking at some computers network

> connections, but want to eliminate any 127.0.0.1 connections listed

>

>

> netstat -no | findstr ESTABLISHED > desktop\netstat.txt

>

>

> TIA

> JHS

>

 

Try this:

 

netstat -no | find /i "established" | find /v "127.0.0.1" >

desktop\netstat.txt

Guest Jason Sands
Posted

Re: findstr

 

On Aug 6, 6:43 am, "Pegasus \(MVP\)" <I....@fly.com> wrote:

> "Jason Sands" <jason.sa...@gmail.com> wrote in message

>

> news:1186400171.714995.158090@l70g2000hse.googlegroups.com...

>

> >I currently use the following for looking at some computers network

> > connections, but want to eliminate any 127.0.0.1 connections listed

>

> > netstat -no | findstr ESTABLISHED > desktop\netstat.txt

>

> > TIA

> > JHS

>

> Try this:

>

> netstat -no | find /i "established" | find /v "127.0.0.1" >

> desktop\netstat.txt

 

Works great! Thanks!


×
×
  • Create New...