Closing Terminal from the command line

Terminal inherits a lot of features from bash, some of which work in an unexpected way in a windowing environment.

CTRL-D in the olden days of VT100s and the like was the equivalent of logging out of your session with whatever mainframe your terminal connected to. It still works, even though it’s not there in the menus. (Typing logout also accomplishes the same task.)

Try hitting CTRL-D while using Terminal. Poof! In fact, if you watch carefully, it even types “logout” for you just before it quits.