How can i change Terminal Settings to automatically close terminal after Execution using shell script when i execute some command file or shell file after execution terminal remains open and its not look appropriate i want to close the terminal by script without changing settings manually in MAC
please help..
You can exit the terminal by calling to two commands after each other, execute script and then exit

$&gt; myScript.sh &amp;&amp; exit