Page 1 of 1

How to check in real time Linux logs with the tail command?

Posted: 30 May 2019, 11:19
by sonik
How to check in real time Linux logs with the tail command?

Code: Select all

tail -f /var/log/apache2/error.log
If we want n number of rows:

Code: Select all

tail -n10 -f /var/log/apache2/error.log