How to look at updated access.log or other log files in linux command line

Go to /var/logs directory or whichever on you want to look tail and try these commands:


tail -f /var/log/messages
less /var/log/messages
more -f /var/log/messages
vi /var/log/messages

Leave a Reply