From a38b5265d42d3b97cb281f49924cec66b00a56f3 Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Tue, 8 Aug 2017 23:35:15 +0200 Subject: [PATCH] Update Stats32 command last -a --- Stats32 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Stats32 b/Stats32 index cf9090a..1837de8 100755 --- a/Stats32 +++ b/Stats32 @@ -1,7 +1,8 @@ #!/bin/sh # -# Stats32 script generate some system infos and add in the motd file. -# +# Stats32 script generate some system infos for the motd file. +# Date: 08/2017 +# # _______ __ __ ______ ______ # | __| |_.---.-.| |_.-----.|__ |__ | # |__ | _| _ || _|__ --||__ | __| @@ -15,7 +16,7 @@ figlet -f chunky $(hostname) echo -e "$SHELL :\e[1;30m $USER\e[0m" -echo -e 'Last User :\e[1;30m'; last -a | grep pts +echo -e 'Last 3 SSH:\e[1;30m'; last -a | grep pts | head -3 echo -e "\033[0m" [ -r /etc/lsb-release ] && . /etc/lsb-release