Chapter 2), you may have to type exit instead. In many cases, you can press Ctrl+D to log out.You know that you have logged out successfully because UNIX either invites the next sucker to log in, hangs up the phone, or, if you’re connected by telnet or ssh , disconnects from your program.