[윈도우] CMD 필터방법 find/findstr
C:\Windows\system32>netstat -ano |findstr ESTABLISHED |find "443"
TCP 192.168.3.6:50461 x.x.251.103:443 ESTABLISHED 23132
TCP 192.168.3.6:54143 x.x.12.24:443 ESTABLISHED 10380
TCP 192.168.3.6:58557 x.x.83.250:443 ESTABLISHED 5696
C:\Windows\system32>netstat -ano |findstr EST |findstr 443
TCP 192.168.3.6:50461 x.x.251.103:443 ESTABLISHED 23132
TCP 192.168.3.6:54644 x.x.91.11:443 ESTABLISHED 7016
TCP 192.168.3.6:58557 x.x.83.250:443 ESTABLISHED 5696
C:\Windows\system32>netstat -ano |find "EST" |find "443"
TCP 192.168.3.6:50461 x.x.251.103:443 ESTABLISHED 23132
TCP 192.168.3.6:54649 x.x.239.28:443 ESTABLISHED 25708
TCP 192.168.3.6:54653 x.x.25.98:443 ESTABLISHED 16596
find : 파일에서 텍스트 문자열을 찾습니다.
findstr : 파일에서 문자열을 찾습니다.
"텍스트 문자열" 과 "문자열" 의 차이점을 아시는 분은 댓글 부탁드립니다.
구글링 해도 모르겠어요.