Solaris Advanced User's Guide

Logging Out

When you have finished your work session and are ready to exit the operating system, log out by typing the following:

$ exit

After a moment, the system once again displays the login prompt:

$ exit
hostname console login:

When you see the login prompt, it indicates that you have successfully logged out. The system is now ready for you or another user to log in.

Note –

In the SunOS operating system, turning off your workstation or terminal does not necessarily log you out. Unless you log out explicitly, you might remain logged in to the system.