Parse wget.log for HTTP response codes
$ grep -A1 "^HTTP request sent" wget.log | egrep -o "[0-9]{3} [A-Za-z]+(.*)" | sort | uniq -c | sort -nr
153239 200 OK
913 404 Not Found
816 301 Moved Permanently
68 403 Forbidden
26 500 Internal Server Error
3 302 Moved Temporarily
3 302 Found
1 307 Temporarily Redirect
Written by Suzanne Aldrich
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#