Skip to content

Commit

Permalink
doc: Update lsof.md (#466)
Browse files Browse the repository at this point in the history
查看指定端口的占用
  • Loading branch information
asunrong authored Feb 10, 2023
1 parent 29d9f98 commit c2d0b9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion command/lsof.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,8 @@ lsof -i:9981 -P -t -sTCP:LISTEN
```shell
lsof $filename
```

查看端口占用
```shell
lsof -i:$port
```

0 comments on commit c2d0b9d

Please sign in to comment.