Skip to content

Instantly share code, notes, and snippets.

@benoitjpnet
Created July 10, 2013 13:26
Show Gist options
  • Save benoitjpnet/5966262 to your computer and use it in GitHub Desktop.
Save benoitjpnet/5966262 to your computer and use it in GitHub Desktop.
Get the last acceded URLs in Squid Access list.
tail -n100 /var/log/squid3/access.log | grep -oE 'http.*' | cut -d ' ' -f1 | sort | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment