Skip to content

Linux netstat usage

netstat –ntlp    显示 tcp 的监听端口
netstat –ntlp    显示 tcp udp 的监听端口
netstat –r       显示路由表
netstat –rn      显示路由表不做名称解析(较快)
netstat –an      显示本地的连接

Disclaimer
  1. License under CC BY-NC 4.0
  2. Copyright issue feedback me#imzye.me, replace # with @
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No privacy information is collected here
Try iOS App