Exercise 15: Exiting Your Terminal (exit)

Do This

Linux/macOS

$ exit

Windows

> exit

You Learned This

Your final exercise is how to exit a Terminal. Again this is very easy, but I'm going to have you do more.

Do More

For your last set of exercises I'm going to have you use the help system to look up a set of commands you should research and learn how to use on your own.

Here's the list for Unix:

  • xargs
  • sudo
  • chmod
  • chown

For Windows look up these things:

  • forfiles
  • runas
  • attrib
  • icacls

Find out what these are, play with them, and then add them to your index cards.

Buy The Python 3 Edition!

When you buy Learn Python 3 The Hard Way, you'll receive the Python 3 Edition PDF, special access to a paid HTML version, and 12 hours of 1080p video, one video for each exercise. All files are DRM free and you can download them to your computer for offline viewing. Digital Download Only! You do not get a physical book.

$29.99

Buy Digital Download From Zed

Try a a free sample of Learn Python the Hard Way right here, video lectures not included.