Stream tail -f squid access.log to Alt-F12
How do I make the screen show tail -f /var/log/squid/access.log when user press Alt+F12, without entering username and password?
Thank you, in advance. |
Stick this line in /etc/rc.d/rc.local:
Code:
env TERM=linux /usr/bin/tail -F /var/log/squid/access.log > /dev/tty12 & |
All times are GMT -5. The time now is 10:30 AM. |