Created
March 12, 2012 11:14
-
-
Save saimonmoore/2021250 to your computer and use it in GitHub Desktop.
grep emails from openid logs
This file contains hidden or 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
sudo grep "openid.sreg.email" /var/log/messages | tr "&" "\n" | grep email= | cut -d= -f2 | |
#add group duplicates | |
sudo grep "openid.sreg.email" /var/log/messages | tr "&" "\n" | grep email= | cut -d= -f2 | sort | uniq -c | sort -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment