• 企业400电话
  • 微网小程序
  • AI电话机器人
  • 电商代运营
  • 全 部 栏 目

    企业400电话 网络优化推广 AI电话机器人 呼叫中心 网站建设 商标✡知产 微网小程序 电商运营 彩铃•短信 增值拓展业务
    windows下的类似linux下的grep命令--findstr
    windows下的类似linux下的grep命令——findstr
    经常用linux下的grep命令,比如:
    netstat -an|grep 1521
    其实windows下也有一个类似的命令findstr,比如:
    C:\Windows\system32>netstat -an|findstr 1521
    TCP 0.0.0.0:1521 0.0.0.0:0 LISTENING
    TCP 192.168.1.100:1521 192.168.1.100:49686 ESTABLISHED
    TCP 192.168.1.100:1521 192.168.1.100:49701 ESTABLISHED
    TCP 192.168.1.100:1521 192.168.1.100:49702 ESTABLISHED
    TCP 192.168.1.100:1521 192.168.1.100:49706 ESTABLISHED
    TCP 192.168.1.100:1521 192.168.1.100:49707 ESTABLISHED
    TCP 192.168.1.100:1521 192.168.1.100:49753 ESTABLISHED
    TCP 192.168.1.100:49686 192.168.1.100:1521 ESTABLISHED
    TCP 192.168.1.100:49701 192.168.1.100:1521 ESTABLISHED
    TCP 192.168.1.100:49702 192.168.1.100:1521 ESTABLISHED
    TCP 192.168.1.100:49706 192.168.1.100:1521 ESTABLISHED
    TCP 192.168.1.100:49707 192.168.1.100:1521 ESTABLISHED
    TCP 192.168.1.100:49753 192.168.1.100:1521 ESTABLISHED
    TCP [::]:1521 [::]:0 LISTENING
    当然windows下还有一个find命令,比如:
    C:\Windows\system32>netstat -an|find "1521"
    TCP 0.0.0.0:1521 0.0.0.0:0 LISTENING
    TCP 192.168.1.100:1521 192.168.1.100:49686 ESTABLISHED
    TCP 192.168.1.100:1521 192.168.1.100:49701 ESTABLISHED
    TCP 192.168.1.100:1521 192.168.1.100:49702 ESTABLISHED
    TCP 192.168.1.100:1521 192.168.1.100:49706 ESTABLISHED
    TCP 192.168.1.100:1521 192.168.1.100:49707 ESTABLISHED
    TCP 192.168.1.100:1521 192.168.1.100:49753 ESTABLISHED
    TCP 192.168.1.100:49686 192.168.1.100:1521 ESTABLISHED
    TCP 192.168.1.100:49701 192.168.1.100:1521 ESTABLISHED
    TCP 192.168.1.100:49702 192.168.1.100:1521 ESTABLISHED
    TCP 192.168.1.100:49706 192.168.1.100:1521 ESTABLISHED
    TCP 192.168.1.100:49707 192.168.1.100:1521 ESTABLISHED
    TCP 192.168.1.100:49753 192.168.1.100:1521 ESTABLISHED
    TCP [::]:1521 [::]:0 LISTENING
    两个命令的区别是find需要用引号引起来。
    上一篇:windows7的telnet命令的详细用法
    下一篇:windows7自动登录默认帐号的设置方法
  • 相关文章
  • 

    © 2016-2020 巨人网络通讯 版权所有

    《增值电信业务经营许可证》 苏ICP备15040257号-8

    windows下的类似linux下的grep命令--findstr windows,下,的,类似,linux,下的,