Skip to content

Instantly share code, notes, and snippets.

@i97506051502
Created November 5, 2012 06:27
Show Gist options
  • Save i97506051502/4015664 to your computer and use it in GitHub Desktop.
Save i97506051502/4015664 to your computer and use it in GitHub Desktop.
ある IP アドレスのユーザーがどういう順序でアクセスをしているか解析
#!/bin/bash
targetIp="$1"
Date="$2"
# ある IP アドレスのユーザーがどういう順序でアクセスをしているか解析
grep ${targetIp} access_log-${Date} | less | cut -d ' ' -f 7
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment