Skip to content

Instantly share code, notes, and snippets.

@phoet
Created January 18, 2012 09:35
Show Gist options
  • Save phoet/1632164 to your computer and use it in GitHub Desktop.
Save phoet/1632164 to your computer and use it in GitHub Desktop.
bash helper snippets
# find all unique %uXXXX in a log-file
grep "(err)" /var/log/appsse/production.log | grep "%u" | sed 's/.*\(%u.\{4\}\).*/\1/g' | sort | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment