Update netstat.md
This commit is contained in:
parent
e7d75fc726
commit
d61b2bc27b
|
|
@ -135,6 +135,12 @@ netstat -ap | grep ssh
|
||||||
|
|
||||||
```
|
```
|
||||||
netstat -an | grep ':80'
|
netstat -an | grep ':80'
|
||||||
|
```
|
||||||
|
|
||||||
|
**通过端口找进程ID**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
netstat -anp|grep 8081 | grep LISTEN|awk '{printf $7}'|cut -d/ -f1
|
||||||
```
|
```
|
||||||
|
|
||||||
**显示网络接口列表**
|
**显示网络接口列表**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue