Why doesn't "exit" close the window in OSX?

$ exit
logout

[Process completed]

Is there a way to close the window with out using the mouse?

link|improve this question
Belongs on superuser.com – Paul R Jun 29 '10 at 10:18
feedback

migrated from stackoverflow.com Jun 29 '10 at 23:18

This question came from our site for professional and enthusiast programmers.

3 Answers

Terminal Preferences -> Settings -> Shell:

When the shell exits: Close if the shell exited cleanly

Besides that, you can (almost) always close windows in OSX with Cmd-W, so you don't need mouse even if it doesn't close automatically.

One more hint: I like hitting Ctrl-D instead of typing exit. Two keys vs. five.

(Although, this is maybe a superuser.com question, not stackoverflow.com)

link|improve this answer
feedback

Command + Q -> closes the application/process.

Command + W -> closes window/instance

link|improve this answer
feedback

If you want to terminate the application itself from the commandline:

killall Terminal
link|improve this answer
feedback

Your Answer

 
or
required, but never shown