human-readable access log from the command line

Here are some quick notes about reading the last 100 entries of an access log without too much information:

cut -d' ' -f1,6,7,9 access.log | tail -n 100

looks like (IP Address, GET / POST / ???, URL, RESULT): "GET /randompage/ 200 "GET / 200 "GET /mypage1/ 200 "GET /NotMyPage/ 404


cut: break by col,

-d: separator, in this case a space

-f: cols to be shown (you can experiment with this)

tail: show last -n, -n 100 will show last 100 lines.