#netstat -an|grep 23
flags
-a Shows the state of all sockets. Without this flag, sockets used by server
processes are not shown.
-n Shows network addresses as numbers. When this flag is not specified, the
netstat command interprets addresses where possible and
displays them symbolically. This flag can be used with any of the display
formats.
| 管道命令,前一个命令的输出做为后一个命令的输入
grep 查找字符 "httpd"
阅读(1765) | 评论(0) | 转发(0) |