logs ubuntu code example
Example 1: ubuntu last logs
sudo tail -n 30 /var/log/access.log-20210309
Example 2: ubuntu server login logs
sudo less /var/log/auth.log
or
last
sudo tail -n 30 /var/log/access.log-20210309
sudo less /var/log/auth.log
or
last