From 0f8aaa1b9beead765614b4f072d17c3b64cff71f Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Wed, 22 Sep 2021 16:13:24 -0400 Subject: [PATCH] Fix header of connections list to look like that of listens --- home/lib/login_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index a7bcf45..894ec7f 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -667,7 +667,7 @@ status() { echo "${indent_unit}<->" - printf '%sTCP: ' "${indent_unit}${indent_unit}" + printf '%sTCP\t' "${indent_unit}${indent_unit}" sudo -n netstat -tnp \ | awk 'NR > 2 && $6 == "ESTABLISHED" {print $7}' \ | awk '{sub("^[0-9]+/", ""); print}' \ -- 2.20.1