Publishers of technology books, eBooks, and videos for creative people

Home > Articles

  • Print
  • + Share This
This chapter is from the book

Exiting the Shell

When you're finished with your Unix session, you need to exit the Unix shell. If you've been playing with the su and shell commands, you might actually have shells within shells and need to exit from all of them. All you have to do is type exit once for each shell.

To exit from the shell:

  • exit

    At the shell prompt, type exit. Ta-da!

  • + Share This
  • 🔖 Save To Your Account