Logging out of the operating system (exit and logout commands)
To log out of the operating system, do one of the following at the system prompt.
Press the end-of-file control-key sequence (Ctrl-D keys).
OR
Type exit.
OR
Type logout.
After you log out, the system displays the login: prompt.