diff --git a/Stats32 b/Stats32 index fb44cfa..e87fed9 100755 --- a/Stats32 +++ b/Stats32 @@ -46,7 +46,7 @@ printf "Swap usage \e[46;3m\e[30m\t%s\e[0;0m\tProcesses \e[35;3m\t%s\e[0;0m\n" printf "User SSH \e[41m\e[1m\t%s\e[0;0m\tShell \e[95m\t%s\e[0;0m\n" " $(users | wc -w) " $SHELL printf "%s------------\t------\t------------\t--------------\n" -echo -e "\n$(tput setaf 7) Conected Users $(users | wc -w) \e[1;30m" ; [[ -z "$nbconnected" ]] && last -a -n $nbconnected | grep pts | head -3 || last -a -n $nbconnected | grep pts +echo -e "\n Conected Users $(users | wc -w) \e[1;30m" ; [[ -z "$nbconnected" ]] && last -a -n $nbconnected | grep pts | head -3 || last -a -n $nbconnected | grep pts | head -3 echo -e "\e[0m" #[[ -z "$nbconnected" ]] && echo "Empty" || echo "Not empty"