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