InfoHeap
Tech
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Mac Command Line tutorials

  • Bulk convert jpeg files to png using sips on mac
  • Custom terminal tab title and ssh on mac
  • How to convert text to speech on Mac using command line utility say
  • How to join multiple pdf files on Mac
  • How to use qpdf to add/remove password from pdf on mac
  • Install redis on Mac
  • Mac - find which process is listening on a port
  • Mac - hide and unhide a file or directory
  • Mac - open a terminal from a folder
  • Mac - print java home on command line
  • Mac - search files on command line using mdfind
  • Mac command line convert svg to png
  • Mac command line utility open - some handy tips for better productivity
  • Mac terminal - how to close shell on exit
  • mac pkgutil - quick start guide
 
  • Home
  • > Tutorials
  • > Mac
  • > Mac Command Line

Mac terminal – how to close shell on exit

By admin on Oct 2, 2015

It is somewhat tedious to close a terminal window shell manually after the shell exit. By default Mac terminal does not close the shell on exit. Here is how a shell looks like if you exit using CTR-D.terminal-shell-after-exit

You can change the behaviour to close shell after a clean exit. For this click on Terminal > Preferences... > Profiles. Then select the desired profile and then select shell tab. Change the settings for “when the shell exits” to “close if shell exited cleanly” as shown below:
terminal-preference-profile-shell-close-if-shell-exited-cleanly
Now when you exit a shell using CTR-D, the shell will close automatically.

Suggested posts:

  1. How to insert multiple rows in google sheets
  2. Command line – top IP list from apache access log
  3. Mac – how to take timed screenshot
  4. How to display auto fade out message using jQuery
  5. AngularJS format date using date filter
  6. Mac Finder – how to change default folder
  7. Mysql find current timezone offset
  8. Selenium Phantomjs – check browser errors using pytest
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Mac, Mac Command Line, Tutorials
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | Company results | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries | InfoHeap Money

Copyright © 2025 InfoHeap.

Powered by WordPress