Ruby one-liner to count logins in Linux last command
MacOS, Windows, and Linux
Linux and Unix
count logins in last commandIf you want to take the output of the Linux last command, and get a count of how many times each user connected to your server, this script will do.sample inputtommytrojan sshd abc.def Fri May 15 13:30 - 13:30 (00:00)j...