Grep String Search can be fine tuned using the power of regular expressions.
grep -w ^index /var/log/httpd/access.log
This command will display only those lines which is having index.html as the starting word, i.e. the homepage of the domain.
No comments:
Post a Comment