access logs in ubuntu code example Example: ubuntu server login logs sudo less /var/log/auth.log or last