Evan Alba

AWK

During the summer of 2025, I decided to learn AWK through, a request loaned book through my university, The AWK Programming Language, Second Edition by Alfred V. Aho, Brian W. Kernighan, and Peter J. Weinberger. This is an AWK program that lists the total count of unique HTTP request methods found in an Apache log.

AWK command used:

awk -f task apache_logs.txt | sort | uniq -c | tr -d '"'

List the total count of unique HTTP request methods found in an Apache log image

Development

You can browse this program's source code or get a copy using git with the following command:

git clone git://evanalba.com/languages