3.9. Logging OutIf you are simply logged in on the Linux console (i.e., not running a graphical desktop environment), then to leave the system just type the keyboard sequence Control-D at your shell prompt.[1] This tells your login shell that there is no more input for it to process, causing it to disconnect you from the system. Most systems then display a "login:" prompt and wait for another user to log in. Here's an example:
$ ^D ...I'm done! Fedora Core release 2 (Tettnang) Kernel 2.6.5-1.358 on an i686 bluenote login: ...wait for another user to log in. If you are running a graphical desktop environment, each one has a menu selection that allows you to log out. Graphical desktops are discussed in more detail in Chapter 10, "The Linux Desktop." Congratulations! You've now seen how you can log into a Linux system, execute a few simple utilities, change your password, and then log out. In the next few sections I'll describe some more utilities that allow you to explore the directory hierarchy and manipulate files. |