Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I often open my terminal with multiple tabs, and exit with exit command in Ubuntu.
What about mac? Except the Cmd+w.

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

Not sure if you have such a command, but I believe you can set up Mac OS X terminal to close when you type exit.

This will close the window but not the terminal app. Please have a look at this question about how to also quite the terminal app when typing exit.

share|improve this answer
    
So there's no native command like exit? Well, I see. Thank you, @OleBrun. :) –  Kjuly Dec 15 '11 at 8:07
add comment

I also had this question, but I really don't like the osascript hack. Finally I found this answer at Ask Different. I think it's a native.

screenshot

The above screenshot shows a Terminal dialog in German, which when translated roughly means:

the end of the shell
conclude if no error occurred.

So it looks like you could configure Terminal to close when the shell is terminated.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.