mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 15:55:25 +02:00
lsof: edit -iTCP example with -i6TCP, -n and -P (#7153)
This commit is contained in:
parent
7618fef666
commit
1eb7603197
1 changed files with 2 additions and 2 deletions
|
@ -32,6 +32,6 @@
|
|||
|
||||
`lsof +D {{path/to/directory}}`
|
||||
|
||||
- Find the process that is listening on a local TCP port:
|
||||
- Find the process that is listening on a local IPv6 TCP port and don't convert network or port numbers:
|
||||
|
||||
`lsof -iTCP:{{port}} -sTCP:LISTEN`
|
||||
`lsof -i6TCP:{{port}} -sTCP:LISTEN -n -P`
|
||||
|
|
Loading…
Add table
Reference in a new issue