Unable to exit Terminal
I recently moved to Mac and I realize I cannot exit or kill the terminal session with `exit` command in the terminal? is there a way to do it?
I recently moved to Mac and I realize I cannot exit or kill the terminal session with `exit` command in the terminal? is there a way to do it?
As you were told already command-Q will quit the Terminal application.
You can still type exit at the prompt and close a shell, but that does not quit the Terminal. I suppose you come from Linux; now there if you have multiple terminal windows and type exit in one of them it won’t close the other ones. Maybe in Linux that is seen as multiple applications. In the mac even if you have many terminal windows there is just one instance of the Terminal application.
As you were told already command-Q will quit the Terminal application.
You can still type exit at the prompt and close a shell, but that does not quit the Terminal. I suppose you come from Linux; now there if you have multiple terminal windows and type exit in one of them it won’t close the other ones. Maybe in Linux that is seen as multiple applications. In the mac even if you have many terminal windows there is just one instance of the Terminal application.
On the keyboard press Command (cmd)-Q or from the menubar, Terminal> Quit Terminal.
Just quit the application.
Out of habit, I press control+D to kill and cleanup processes associated with, or run from the Terminal, before I quit it with a command+Q.
Unable to exit Terminal