5月 8 2011
メモ。
ポートが空いている場合
$ netstat -na | grep ":25 " tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN $ netstat -na | grep ":587 " tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN $ netstat -na | grep ":110 " tcp 0 0 :::110 :::* LISTEN
ポートが空いていない場合は、grepから何も返ってこない
By KYO • Command, Linux • Tags: command, linux, netstat
5月 8 2011
netstatでlistenポート確認
メモ。
ポートが空いている場合
ポートが空いていない場合は、grepから何も返ってこない
By KYO • Command, Linux • Tags: command, linux, netstat