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?
|
Why doesn't "exit" close the window in OSX?
Is there a way to close the window with out using the mouse? | |||
feedback
|
This question came from our site for professional and enthusiast programmers.
|
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) | |||
|
feedback
|
|
Command + Q -> closes the application/process. Command + W -> closes window/instance | |||
|
feedback
|
|
If you want to terminate the application itself from the commandline:
| |||
|
feedback
|