diff --git a/pages/linux/netstat.md b/pages/linux/netstat.md index f533e2d4e6..51a65aacc5 100644 --- a/pages/linux/netstat.md +++ b/pages/linux/netstat.md @@ -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` diff --git a/pages/osx/netstat.md b/pages/osx/netstat.md index 4f925ae6e8..c8e52183c8 100644 --- a/pages/osx/netstat.md +++ b/pages/osx/netstat.md @@ -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`