Section 3.9. Logging Out


[Page 50 (continued)]

3.9. Logging Out

If 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:

[1] The C-shell can be set to ignore ^D for logout, since you might type it by accident. In this case, you must type the "logout" command instead.

$ ^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.




Linux for Programmers and Users
Linux for Programmers and Users
ISBN: 0131857487
EAN: 2147483647
Year: 2007
Pages: 339

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net