From 1cef50e33f240883bdabea386f32cf3caa20e57c Mon Sep 17 00:00:00 2001 From: Bruno Bigras Date: Fri, 19 Apr 2019 16:00:53 -0400 Subject: [PATCH] ss: add listening socket example (#2853) --- pages/linux/ss.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/ss.md b/pages/linux/ss.md index a8940c1f1..bae947140 100644 --- a/pages/linux/ss.md +++ b/pages/linux/ss.md @@ -14,6 +14,10 @@ `ss -t src :{{443}}` +- Show all TCP sockets listening on the local 8080 port: + +`ss -lt src :{{8080}}` + - Show all TCP sockets along with processes connected to a remote ssh port: `ss -pt dst :{{ssh}}`