Posts Tagged ‘grep on windows’

grep on windows?

Tuesday, February 17th, 2009

I was just fiddling on the Windows command prompt and much to my surprise that I can use “find” like how I use “grep” on Linux. For example, you want to filter lines that have the word LISTEN, just enter the command(s) below:

> netstat -an|find “LISTEN”

  • Share/Bookmark