🧀 Learn Linux

进阶 · 观察系统

lsof:查看打开文件与端口

语法

lsof [-i :端口]

示例

sudo lsof -i :8080

使用说明与支持范围

仅供手册查阅

完整文档 ↗

同专题命令