netstat: add route print example (#2566)

italian
Cameron Tod 2018-11-21 10:30:05 +13:00 committed by Starbeamrainbowlabs
parent 0c6cca1d98
commit 5eb448ebf6
2 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# netstat
> Displays various networks related information such as open connections, open socket ports etc.
> Displays network-related information such as open connections, open socket ports, etc.
- List all ports:
@ -29,3 +29,7 @@
- List listening TCP and UDP ports (+ user and process if you're root):
`netstat -lepunt`
- Print the routing table:
`netstat -nr`

View File

@ -1,6 +1,6 @@
# netstat
> Displays various networks related information such as open connections, open socket ports etc.
> Displays network-related information such as open connections, open socket ports, etc.
- List all ports:
@ -21,3 +21,7 @@
- List information continuously:
`netstat -c`
- Print the routing table:
`netstat -nr`