Skip to content

Instantly share code, notes, and snippets.

@erm3nda
Created May 8, 2022 08:11
Embed
What would you like to do?
Gives you accounting for unique visitors to given log file.
#!/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