Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save roman0x58/eea81188941db5fb7679ecd2229b5bca to your computer and use it in GitHub Desktop.
Save roman0x58/eea81188941db5fb7679ecd2229b5bca to your computer and use it in GitHub Desktop.
Grep between
cat /var/log/logifle | grep -Po 'connection timed out: \K.*\w+(?= to)' | sort | uniq -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment