Skip to content

Instantly share code, notes, and snippets.

@dmitriynet
Created February 24, 2016 11:43
Show Gist options
  • Save dmitriynet/d0466010cdd37bd7ccb2 to your computer and use it in GitHub Desktop.
Save dmitriynet/d0466010cdd37bd7ccb2 to your computer and use it in GitHub Desktop.
Grep unique by regex
tail -n 100000 kj.log | grep -o -E "\w+$" | sort -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment