Windows CMD

 

 

 

 


findstr

 

ie.

netstat -a -p tcp -n | findstr 8443

 


find

 

get the line count of a text file

# string 必須要 ""

#  /C         Displays only the count of lines containing the string.

find /c "string" myfile.txt

netstat -nao | find /i “estab”