open tail file linux code example Example: watch tail file linux tail -n2 -f /var/log/apache2/access.log