Created
May 8, 2022 08:11
-
-
Save erm3nda/073c0cd45367a2fc352847f0e8f207bc to your computer and use it in GitHub Desktop.
Gives you accounting for unique visitors to given log file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# gives you accounting for unique visitors | |
cat $1 | cut -d" " -f1 | sort | uniq | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment