how to get an ubuntu server logs code example Example: ubuntu server login logs sudo less /var/log/auth.log or last