check logs in ubuntu code example Example: ubuntu last logs sudo tail -n 30 /var/log/access.log-20210309