Wednesday, 5 August 2009

Squid command (Proxy)

Use tail command to display log files in real time as follows:
#tail -f /var/log/squid/access.log

Search log files
Use grep command as follows:
#grep 'string-to-search' /var/log/squid/access.log

No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Google Search