mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-10 02:35:40 +02:00
netstat: add option placeholders (#16309)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
parent
8f82944a45
commit
070b6a4366
1 changed files with 7 additions and 7 deletions
|
@ -6,28 +6,28 @@
|
|||
|
||||
- List all ports:
|
||||
|
||||
`netstat --all`
|
||||
`netstat {{[-a|--all]}}`
|
||||
|
||||
- List all listening ports:
|
||||
|
||||
`netstat --listening`
|
||||
`netstat {{-l|--listening]}}`
|
||||
|
||||
- List listening TCP ports:
|
||||
|
||||
`netstat --tcp`
|
||||
`netstat {{-t|--tcp]}}`
|
||||
|
||||
- Display PID and program names:
|
||||
|
||||
`netstat --program`
|
||||
`netstat {{[-p|--program]}}`
|
||||
|
||||
- List information continuously:
|
||||
|
||||
`netstat --continuous`
|
||||
`netstat {{[-c|--continuous]}}`
|
||||
|
||||
- List routes and do not resolve IP addresses to hostnames:
|
||||
|
||||
`netstat --route --numeric`
|
||||
`netstat {{[-rn|--route --numeric]}}`
|
||||
|
||||
- List listening TCP and UDP ports (+ user and process if you're root):
|
||||
|
||||
`netstat --listening --program --numeric --tcp --udp --extend`
|
||||
`netstat {{[-tulpne|--tcp --udp --listening --program --numeric --extend]}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue