Count users with “last”
Here is a quick example showing how to count users logged in on a particular date using the “last” command on Linux.
|
1 |
last | awk '/bold/ {printf ("%s\t%s \t%s%s\n", $1,$3,$5,$6)}' | uniq | grep -c "Aug 15" |
-
Sonny
-
Ed D
-
Con Orpe
-
Adam
-
Jon P
