Wednesday, January 6, 2010

Grep in Windows

Ever wanted to grep a string in Windows console?  Here's how:
c:\>netstat -an | findstr 50000
There are other options for findstr.  You can check it out by typing "help findstr".

No comments: