mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 07:35:24 +02:00
Add common and useful netstat use case
This is one of the most useful netstat options I've found. I thought it was worth sharing.
This commit is contained in:
parent
1dd11b49e8
commit
4a148f467d
1 changed files with 4 additions and 0 deletions
|
@ -25,3 +25,7 @@
|
||||||
- List routes and do not resolve IP to hostname:
|
- List routes and do not resolve IP to hostname:
|
||||||
|
|
||||||
`netstat -rn`
|
`netstat -rn`
|
||||||
|
|
||||||
|
- List listening TCP and UDP ports (+ user and process if you're root):
|
||||||
|
|
||||||
|
`netstat -lepunt`
|
||||||
|
|
Loading…
Add table
Reference in a new issue