From: Siraaj Khandkar Date: Thu, 4 Mar 2021 11:59:33 +0000 (-0500) Subject: Sort by day X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=b2402792530b9537c51e9b4a2f662f1eef42ecff;p=khome.git Sort by day --- diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index 426cbb2..185fb26 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -730,7 +730,7 @@ ssh_invalid_by_day() { ' \ /var/log/auth.log \ /var/log/auth.log.1 \ - | sort -n -k 1 \ + | sort -k 3 \ | bar_gauge -v width="$(stty size | awk '{print $2}')" -v num=1 -v ch_right=' ' -v ch_left=' ' -v ch_blank=' ' \ | column -t }