Logout quickly from X Windows
Ctr-Alt-Delete shuts down your GUI and returns you to the command line. ONLY do this if the GUI is locked! This is NOT a good thing to do regularly.
Shutdown the computer from the command line
shutdown -r now = reboot immediately
shutdown -h now = shutdown (or halt) immediately
shutdown -r +5 = reboot in 5 minutes