From 4fdf5566d725eb52a5f7de403fd04d84dd504f47 Mon Sep 17 00:00:00 2001 From: SkyperTHC <5938498+SkyperTHC@users.noreply.github.com> Date: Thu, 9 Jun 2022 14:38:34 +0100 Subject: [PATCH] thnx sigs3gv & DoctorWho --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 058910c..d463e9d 100644 --- a/README.md +++ b/README.md @@ -806,7 +806,9 @@ rlwrap ssh user@host **10.iv. Useful commands** -Use ```lsof -Pni``` or ```netstat -antpu``` to list all Internet connections. +Use ```lsof -Pni``` or ```netstat -antpu``` (or ```ss -antpu```) to list all Internet (_-tu_) connections. + +Use ```ss -lntp``` to show all listening (_-l_) TCP (_-t_) sockets. Use ```netstat -rn``` or ```ip route show``` to show default Internet route.