<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: What Shell Am I Using?</title>
	<atom:link href="http://osxdaily.com/2009/09/25/what-shell-am-i-using/feed/" rel="self" type="application/rss+xml" />
	<link>http://osxdaily.com/2009/09/25/what-shell-am-i-using/</link>
	<description>News, tips, software, reviews, and more for Mac OS X, iPhone, iPad</description>
	<lastBuildDate>Sat, 25 May 2013 09:32:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: DistortedLoop</title>
		<link>http://osxdaily.com/2009/09/25/what-shell-am-i-using/#comment-96792</link>
		<dc:creator>DistortedLoop</dc:creator>
		<pubDate>Fri, 25 Sep 2009 13:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=1223#comment-96792</guid>
		<description>Strangely enough, when I open a terminal window in OS X, it says &quot;Terminal - bash - 80x24&quot; right along the title bar.  

I don&#039;t recall if I set those items in the past, so perhaps they are the OS X default, but they are controlled in Terminal by opening the Preferences and clicking on Window.  Here you can title the window bar with your own text, and then there are check boxes for various other things like the active process (your shell name if idle).</description>
		<content:encoded><![CDATA[<p>Strangely enough, when I open a terminal window in OS X, it says &#8220;Terminal &#8211; bash &#8211; 80&#215;24&#8243; right along the title bar.  </p>
<p>I don&#8217;t recall if I set those items in the past, so perhaps they are the OS X default, but they are controlled in Terminal by opening the Preferences and clicking on Window.  Here you can title the window bar with your own text, and then there are check boxes for various other things like the active process (your shell name if idle).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matteo Corti</title>
		<link>http://osxdaily.com/2009/09/25/what-shell-am-i-using/#comment-96791</link>
		<dc:creator>Matteo Corti</dc:creator>
		<pubDate>Fri, 25 Sep 2009 08:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=1223#comment-96791</guid>
		<description>Hi,

this is not always true and you should not rely on it. From the bash man page:

       SHELL  The  full pathname to the shell is kept in this environment variable.
              If it is not set when the shell starts, bash assigns to it  the  full
              pathname of the current user&#039;s login shell.

This means that if it is already set a new shell will not replace the value on startup.

tcsh and ksh behave the same way:

$ echo $SHELL
/bin/bash
$ tcsh
% echo $SHELL
/bin/bash
% ksh
&gt; echo $SHELL
/bin/bash

Matteo</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>this is not always true and you should not rely on it. From the bash man page:</p>
<p>       SHELL  The  full pathname to the shell is kept in this environment variable.<br />
              If it is not set when the shell starts, bash assigns to it  the  full<br />
              pathname of the current user&#8217;s login shell.</p>
<p>This means that if it is already set a new shell will not replace the value on startup.</p>
<p>tcsh and ksh behave the same way:</p>
<p>$ echo $SHELL<br />
/bin/bash<br />
$ tcsh<br />
% echo $SHELL<br />
/bin/bash<br />
% ksh<br />
&gt; echo $SHELL<br />
/bin/bash</p>
<p>Matteo</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/3 queries in 0.002 seconds using disk: basic
Object Caching 200/201 objects using disk: basic
Content Delivery Network via cdn.osxdaily.com

Served from: osxdaily.com @ 2013-05-25 06:29:05 -->