Logging Out of the System

When you have finished using the system, it is important to log out—especially if you are using a computer that untrustworthy people have access to. Logging out returns the system to the login prompt so that no one else can use your account or access your private files. To log out of the system, simply type exit at the bash$ prompt. This will return the system to the login: prompt.

If you want to clear the screen before logging out so that no one else will be able to see what you were working on, simply type clear and press Enter before issuing the exit command.

Get Sams Teach Yourself FreeBSD® in 24 Hours 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.