linux 查看端口命令

linux 查看端口命令
netstat -an 查看网络端口
netstat -an |grep -w 21
lsof -i :port,使用lsof -i :port就能看见所指定端口运行的程序,同时还有当前连接。
lsof -i :1521
nmap 端口扫描

2 thoughts on “linux 查看端口命令

  1. Hi there! Someone in my Facebook group shared this
    website with us so I came to give it a look. I’m definitely loving the information. I’m
    bookmarking and will be tweeting this to my followers! Exceptional blog and wonderful style and design.

Leave a Reply

Your email address will not be published. Required fields are marked *