Do you know a similar program for wc (unix word count command) on Windows? [closed]

Even easier, find /c.
ex:

netstat -an | find /c "ESTABLISHED"

find /c: Displays only the count of lines containing the string.

Leave a Comment