netstat -an|findstr 1521 T...">
瀏覽量:32次
windows下的類似linux下的grep命令——findstr經(jīng)常用linux下的grep命令,比如:netstat -an|grep 1521其實(shí)windows下也有一個(gè)類似的命令findstr,比如:C:/Windows/system32>netstat -an|findstr 1521 TCP 0.0.0.0:1521 0.0.0.0:0 LISTENINGTCP 192.168.1.100:1521 192.168.1.100:49686 ESTABLISHEDTCP 192.168.1.100:1521 192.168.1.100:49701 ESTABLISHEDTCP 192.168.1.100:1521 192.168.1.100:49702 ESTABLISHEDTCP 192.168.1.100:1521 192.168.1.100:49706 ESTABLISHEDTCP 192.168.1.100:1521 192.168.1.100:49707 ESTABLISHEDTCP 192.168.1.100:1521 192.168.1.100:49753 ESTABLISHEDTCP 192.168.1.100:49686 192.168.1.100:1521 ESTABLISHEDTCP 192.168.1.100:49701 192.168.1.100:1521 ESTABLISHEDTCP 192.168.1.100:49702 192.168.1.100:1521 ESTABLISHEDTCP 192.168.1.100:49706 192.168.1.100:1521 ESTABLISHEDTCP 192.168.1.100:49707 192.168.1.100:1521 ESTABLISHEDTCP 192.168.1.100:49753 192.168.1.100:1521 ESTABLISHEDTCP [::]:1521 [::]:0 LISTENING當(dāng)然windows下還有一個(gè)find命令,比如:C:/Windows/system32>netstat -an|find "1521" TCP 0.0.0.0:1521 0.0.0.0:0 LISTENINGTCP 192.168.1.100:1521 192.168.1.100:49686 ESTABLISHEDTCP 192.168.1.100:1521 192.168.1.100:49701 ESTABLISHEDTCP 192.168.1.100:1521 192.168.1.100:49702 ESTABLISHEDTCP 192.168.1.100:1521 192.168.1.100:49706 ESTABLISHEDTCP 192.168.1.100:1521 192.168.1.100:49707 ESTABLISHEDTCP 192.168.1.100:1521 192.168.1.100:49753 ESTABLISHEDTCP 192.168.1.100:49686 192.168.1.100:1521 ESTABLISHEDTCP 192.168.1.100:49701 192.168.1.100:1521 ESTABLISHEDTCP 192.168.1.100:49702 192.168.1.100:1521 ESTABLISHEDTCP 192.168.1.100:49706 192.168.1.100:1521 ESTABLISHEDTCP 192.168.1.100:49707 192.168.1.100:1521 ESTABLISHEDTCP 192.168.1.100:49753 192.168.1.100:1521 ESTABLISHEDTCP [::]:1521 [::]:0 LISTENING兩個(gè)命令的區(qū)別是find需要用引號(hào)引起來(lái)。
上一篇: Edge瀏覽器如何設(shè)置地址欄默認(rèn)搜索為百度搜索,edge瀏覽器如何設(shè)置地址信息
下一篇: Windows7卸載漏洞補(bǔ)丁時(shí)系統(tǒng)提示卸載失敗,win7漏洞補(bǔ)丁文件位置
[聲明]本網(wǎng)轉(zhuǎn)載網(wǎng)絡(luò)媒體稿件是為了傳播更多的信息,此類稿件不代表本網(wǎng)觀點(diǎn),本網(wǎng)不承擔(dān)此類稿件侵權(quán)行為的連帶責(zé)任。故此,如果您發(fā)現(xiàn)本網(wǎng)站的內(nèi)容侵犯了您的版權(quán),請(qǐng)您的相關(guān)內(nèi)容發(fā)至此郵箱【779898168@qq.com】,我們?cè)诖_認(rèn)后,會(huì)立即刪除,保證您的版權(quán)。
官網(wǎng)優(yōu)化
整站優(yōu)化
渠道代理
400-655-5776