how to view ubunt server to view logs in login to server code example Example: ubuntu server login logs sudo less /var/log/auth.log or last