Wednesday, July 6, 2011

Close mac Terminal after you are done

The exit command:
It works if the following setting is done:
Terminal
>Preferences
>Settings
>Shell
>Prompt before closing: never
or
> When the shell exits:
select: close if the shell exited cleanly

The following kills the terminal:

killall Terminal

So, if I want to kill the terminal after I am done, I will simply add:
killall Terminal
instead of kill

No comments: