netstat: add route print example (#2566)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
0c6cca1d98
commit
5eb448ebf6
@@ -1,6 +1,6 @@
|
|||||||
# netstat
|
# 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:
|
- List all ports:
|
||||||
|
|
||||||
@@ -29,3 +29,7 @@
|
|||||||
- 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 -lepunt`
|
`netstat -lepunt`
|
||||||
|
|
||||||
|
- Print the routing table:
|
||||||
|
|
||||||
|
`netstat -nr`
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# netstat
|
# 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:
|
- List all ports:
|
||||||
|
|
||||||
@@ -21,3 +21,7 @@
|
|||||||
- List information continuously:
|
- List information continuously:
|
||||||
|
|
||||||
`netstat -c`
|
`netstat -c`
|
||||||
|
|
||||||
|
- Print the routing table:
|
||||||
|
|
||||||
|
`netstat -nr`
|
||||||
|
Reference in New Issue
Block a user