Geek Posted March 21, 2012 Posted March 21, 2012 <div class="KonaBody"><p><img src="http://osxdaily.com/wp-content/uploads/2012/03/change-shell-mac-os-x.jpg" alt="Change the Shell in Mac OS X" title="change-shell-mac-os-x" width="620" height="179" class="aligncenter size-full wp-image-28680" /></p> <p>Tired of bash? Prefer ksh, tcsh, or sh? You can quickly change the default shell in Terminal app, in addition to changing a users default login shell for when <a href="http://osxdaily.com/2011/09/30/remote-login-ssh-server-mac-os-x/">logging in remotely with SSH</a> or otherwise. Here’s how to do both.</p> <h2 style="font-size:1.2em;">Change Terminal Apps Default Shell in OS X</h2> <ul> <li>Open Preferences from the Terminal menu, click the “Startup” tab</li> <li>Under “Shells open with” choose “Command (complete path)” and set the new shell</li> </ul> <p><img src="http://osxdaily.com/wp-content/uploads/2012/03/change-shell-terminal.jpg" alt="Change Shell in Terminal" title="change-shell-terminal" width="604" height="546" class="aligncenter size-full wp-image-28679" /></p> <h2 style="font-size:1.2em;">Change a User Default Login Shell in Mac OS X</h2> <p>You can also change the default shell through the command line itself using the chsh command, this will be necessary if you want the default shell to be different when logging in with SSH or telnet. You’ll need to authenticate each change:</p> <p>ksh: <code>chsh -s /bin/ksh</code></p> <p>tcsh: <code>chsh -s /bin/tcsh</code></p> <p>bash (default): <code>chsh -s /bin/bash</code></p> <p>sh: <code>chsh -s /bin/sh</code></p> <p>We <a href="http://osxdaily.com/2007/02/27/how-to-change-from-bash-to-tcsh-shell/">covered the first part</a> of this years ago and it hasn’t changed since, even with OS X Lion and OS X Mountain Lion.</p> </div> <p><a href="http://feedads.g.doubleclick.net/~a/cEKYAC22x0hPc_lfOstsFt11kN8/0/da"><img src="http://feedads.g.doubleclick.net/~a/cEKYAC22x0hPc_lfOstsFt11kN8/0/di" border="0" ismap="true"></img></a><br/> <a href="http://feedads.g.doubleclick.net/~a/cEKYAC22x0hPc_lfOstsFt11kN8/1/da"><img src="http://feedads.g.doubleclick.net/~a/cEKYAC22x0hPc_lfOstsFt11kN8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=F94hbie65Yc:Z5fMjq3lSdk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=F94hbie65Yc:Z5fMjq3lSdk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=F94hbie65Yc:Z5fMjq3lSdk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=F94hbie65Yc:Z5fMjq3lSdk:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=F94hbie65Yc:Z5fMjq3lSdk:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=F94hbie65Yc:Z5fMjq3lSdk:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=F94hbie65Yc:Z5fMjq3lSdk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=qj6IDK7rITs" border="0"></img></a> </div><img src="http://feeds.feedburner.com/~r/osxdaily/~4/F94hbie65Yc" height="1" width="1"/> View the full article
Recommended Posts