linux 查看端口命令

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

2 Responses so far.

  1. quest bars says:
    Hi there to every single one, it’s genuinely a fastidious for me
    to go to see this site, it contains useful Information.
  2. quest bars says:
    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.