Skip to content

Instantly share code, notes, and snippets.

@saimonmoore
Created March 12, 2012 11:14
Show Gist options
  • Save saimonmoore/2021250 to your computer and use it in GitHub Desktop.
Save saimonmoore/2021250 to your computer and use it in GitHub Desktop.
grep emails from openid logs
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