本文介绍一下linux查看端口占用基本命令:
1. 查看端口占用:
[root@centos9 /]# netstat -tunlp
2. 查看指定的端口号的情况:
[root@centos9 /]# netstat -tunlp | grep 10081
3.查看指定进程的情况:
[root@centos9 /]# netstat -tunlp | grep 16390