Bash Resources
Useful scripting
To get all attempts to use poker server improperly:
$ grep "GET " poker-server.log* | sed -e 's/.*GET \([^\[]*\).*/\1/' | sort -u
To get all 404 URLs on my tomcat server:
grep " 404 " localhost_access_log.2008-06-0* | sed -e 's/.*GET\(.*\)HTTP.*/\1/' | sort -u
Count active people using their DD Poker:
grep "Update check" poker-server.log* | sed -e 's/.*check from \(....-....-....-....\).*/\1/' | sort -u | wc
Add new attachment
Only authorized users are allowed to upload new attachments.