Text-Based Logout

When working within the shell prompt, all you need to do to log out is type “logout.” The command would be seen as

>logout

Once you issue the logout command, the Unix system will immediately return to a login prompt. You have just successfully logged in and out of a Unix system. If it was your first time, you should be proud of yourself—this was quite an accomplishment. If you have done this once or twice before, continue to practice, because practice makes perfect and this is one task you will master in no time. Remember, you must log in to a Unix system to work within it. Also remember that even though this may have been a somewhat easy task, there were many things to consider, mainly your environment, your security, and ...

Get SAMS Teach Yourself Unix in 10 Minutes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.