1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-11 05:55:51 +02:00

netstat: add option placeholders (#16309)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
CleanMachine1 2025-05-03 16:24:05 +01:00 committed by GitHub
parent 8f82944a45
commit 070b6a4366
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,28 +6,28 @@
- List all ports: - List all ports:
`netstat --all` `netstat {{[-a|--all]}}`
- List all listening ports: - List all listening ports:
`netstat --listening` `netstat {{-l|--listening]}}`
- List listening TCP ports: - List listening TCP ports:
`netstat --tcp` `netstat {{-t|--tcp]}}`
- Display PID and program names: - Display PID and program names:
`netstat --program` `netstat {{[-p|--program]}}`
- List information continuously: - List information continuously:
`netstat --continuous` `netstat {{[-c|--continuous]}}`
- List routes and do not resolve IP addresses to hostnames: - 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): - 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]}}`