Command
sudo tail -f /var/log/apache2/error.logExplanation
Displays and follows Apache error log in real-time.
Examples
Follow error log
sudo tail -f /var/log/apache2/error.logSearch for errors
sudo grep -i error /var/log/apache2/error.logsudo tail -f /var/log/apache2/error.logDisplays and follows Apache error log in real-time.
Follow error log
sudo tail -f /var/log/apache2/error.logSearch for errors
sudo grep -i error /var/log/apache2/error.log