日期:2012-07-22 02:43:00  来源:本站整理

windows下的近似linux下的grep号令--findstr[Windows安全]

赞助商链接



  本文“windows下的近似linux下的grep号令--findstr[Windows安全]”是由七道奇为您精心收集,来源于网络转载,文章版权归文章作者所有,本站不对其观点以及内容做任何评价,请读者自行判断,以下是其具体内容:
点评:windows下的近似linux下的grep号令——findstrwindows下的近似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需求用引号惹起来.

  以上是“windows下的近似linux下的grep号令--findstr[Windows安全]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:
  • Windows 8调整回收站大小的办法
  • Windows8常常呈现无呼应且无法关闭的问题办理办法
  • windows 2003翻开本地用户和组提醒无权限的办理办法
  • Windows Server 2012虚拟机的导入本领
  • 若何办理Windows 8在桌面上老是显示大小写锁定和数字锁定图标的问题
  • 若何对Windows Server 2008上的ARP缓存举行管理的步骤
  • Windows8激活办法 用Skype免费打英国电池激活的办法教程(图文)
  • Windows 8怎样启用.net framework 3.5的办法介绍
  • Windows8无法更新驱动的办理办法(图文教程)
  • 平板电脑里装的Windows 8 Metro版的操作指南
  • 在Windows7中将U盘用BitLocker加密的操作步骤
  • 在固态硬盘上若何安装Windows 7
  • 本文地址: 与您的QQ/BBS好友分享!
    • 好的评价 如果您觉得此文章好,就请您
        0%(0)
    • 差的评价 如果您觉得此文章差,就请您
        0%(0)

    文章评论评论内容只代表网友观点,与本站立场无关!

       评论摘要(共 0 条,得分 0 分,平均 0 分) 查看完整评论
    Copyright © 2020-2022 www.xiamiku.com. All Rights Reserved .