Thursday, November 24, 2016

Windows equivalent for grep and wc -l

If you want to find the number of established connections on 8080 in Windows, you can use the following command:

netstat -an | findstr 8080 | findstr ESTABLISHED | find /c /v ""

References:
http://superuser.com/questions/300815/grep-equivalent-for-windows-7
http://superuser.com/questions/959036/what-is-the-windows-equivalent-of-wc-l

No comments:

Post a Comment