Background Back when I got my GL-AR150 mini router, I was blown away by the powerful capabilities of this $25 OpenWRT router,...
Count how many times a file was accessed via ApacheStanislav Khromov
cat access.log | grep "my_file.php" | wc -l
This command is fairly generic and will return the amount of rows in a file after applying the grep search string.
And grep does regular expressions too!