How to View Live Log Using Tail

This is simple command to view live log using command 'tail'.

e.g: view apache access.log

tail -f -n 10 /var/log/apache2/access.log

0 comments:

Post a Comment