日常更新linux笔记

This commit is contained in:
2026-07-02 23:10:58 +08:00
parent cd4a5a20ee
commit 7422eb7346
16 changed files with 156 additions and 7 deletions
+13
View File
@@ -0,0 +1,13 @@
# netstat \[-anp] \[| grep 端口号]
**略过时,推荐使用ss(同参数)**
作用:查看端口的占用情况
参数:
- a:所有端口
- n:以数字显示
- p:显示进程PID和名称
示例:
- netstat -anp | grep 80