how to see lines are addded to the log file name in real time in unix code example Example: linux show log file real time $ sudo tail -f /var/log/apache2/access.log