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