<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=Shell_configuration_file</id>
		<title>Shell configuration file - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=Shell_configuration_file"/>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php?title=Shell_configuration_file&amp;action=history"/>
		<updated>2026-04-10T12:54:46Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://freebsdwiki.net/index.php?title=Shell_configuration_file&amp;diff=8151&amp;oldid=prev</id>
		<title>Jimbo: Reverted edits by 67.110.67.231 (Talk); changed back to last version by Dave</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php?title=Shell_configuration_file&amp;diff=8151&amp;oldid=prev"/>
				<updated>2007-05-01T15:31:54Z</updated>
		
		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/index.php/Special:Contributions/67.110.67.231&quot; title=&quot;Special:Contributions/67.110.67.231&quot;&gt;67.110.67.231&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:67.110.67.231&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:67.110.67.231 (page does not exist)&quot;&gt;Talk&lt;/a&gt;); changed back to last version by &lt;a href=&quot;/index.php/User:Dave&quot; title=&quot;User:Dave&quot;&gt;Dave&lt;/a&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:31, 1 May 2007&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Jimbo</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php?title=Shell_configuration_file&amp;diff=4771&amp;oldid=prev</id>
		<title>Dave: clarification of which config files get called in what order</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php?title=Shell_configuration_file&amp;diff=4771&amp;oldid=prev"/>
				<updated>2004-12-17T02:06:09Z</updated>
		
		<summary type="html">&lt;p&gt;clarification of which config files get called in what order&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:06, 17 December 2004&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; $ &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; $ &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You can also define your [[PATH]] in your shell, as well as aliases for common typos (or to make commands you use regularly behave in handier ways, but be careful of changing serious commands (ie, [[rm]]) with an alias. Red Hat Linux does this by default -- aliasing [[rm]] with ''rm -i'', which is handy if you're a new user and aren't expecting rm to delete stuff RIGHT AWAY (which is [[rm]]'s 'raison d'etre', of course,) but if you move to another machine that doesn't have this alias, and you're expecting to be asked for confirmation....you could have problems, pilgrim.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You can also define your [[PATH]] in your shell, as well as aliases for common typos (or to make commands you use regularly behave in handier ways, but be careful of changing serious commands (ie, [[rm]]) with an alias. Red Hat Linux does this by default -- aliasing [[rm]] with ''rm -i'', which is handy if you're a new user and aren't expecting rm to delete stuff RIGHT AWAY (which is [[rm]]'s &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'&lt;/ins&gt;'raison d'etre&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'&lt;/ins&gt;', of course,) but if you move to another machine that doesn't have this alias, and you're expecting to be asked for confirmation....you could have problems, pilgrim.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;If &lt;/del&gt;you've got a .profile, that will get executed &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;first&lt;/del&gt;; any subsequent shell config files should be called from that file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;The first thing that gets read is /etc/profile, if &lt;/ins&gt;you've got a .profile, that will get executed &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;next&lt;/ins&gt;; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[.bash_profile]] will get read next if it exists, and &lt;/ins&gt;any subsequent shell config files should be called from that file&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. [[.bashrc]] will get called from non-interactive shells (ie, non-login shells,) lastly. The easy way to manage everything is to place all your shell customizations in one file and then call it from the other config files&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;See also [[.bashrc]], [[.profile]], [[.cshrc]], [[.shrc]], [[.bash_profile]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;See also [[.bashrc]], [[.profile]], [[.cshrc]], [[.shrc]], [[.bash_profile]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Important Config Files]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Important Config Files]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:746:newid:4771 --&gt;
&lt;/table&gt;</summary>
		<author><name>Dave</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php?title=Shell_configuration_file&amp;diff=746&amp;oldid=prev</id>
		<title>Dave at 04:15, 22 November 2004</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php?title=Shell_configuration_file&amp;diff=746&amp;oldid=prev"/>
				<updated>2004-11-22T04:15:56Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 04:15, 22 November 2004&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You can also define your [[PATH]] in your shell, as well as aliases for common typos (or to make commands you use regularly behave in handier ways, but be careful of changing serious commands (ie, [[rm]]) with an alias. Red Hat Linux does this by default -- aliasing [[rm]] with ''rm -i'', which is handy if you're a new user and aren't expecting rm to delete stuff RIGHT AWAY (which is [[rm]]'s 'raison d'etre', of course,) but if you move to another machine that doesn't have this alias, and you're expecting to be asked for confirmation....you could have problems, pilgrim.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You can also define your [[PATH]] in your shell, as well as aliases for common typos (or to make commands you use regularly behave in handier ways, but be careful of changing serious commands (ie, [[rm]]) with an alias. Red Hat Linux does this by default -- aliasing [[rm]] with ''rm -i'', which is handy if you're a new user and aren't expecting rm to delete stuff RIGHT AWAY (which is [[rm]]'s 'raison d'etre', of course,) but if you move to another machine that doesn't have this alias, and you're expecting to be asked for confirmation....you could have problems, pilgrim.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;If you've got a .profile, that will get executed first; any subsequent shell config files should be called from that file.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;See also [[.bashrc]], [[.profile]], [[.cshrc]], [[.shrc]], [[.bash_profile]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;See also [[.bashrc]], [[.profile]], [[.cshrc]], [[.shrc]], [[.bash_profile]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Important Config Files]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Important Config Files]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:671:newid:746 --&gt;
&lt;/table&gt;</summary>
		<author><name>Dave</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php?title=Shell_configuration_file&amp;diff=671&amp;oldid=prev</id>
		<title>Dave at 22:13, 21 November 2004</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php?title=Shell_configuration_file&amp;diff=671&amp;oldid=prev"/>
				<updated>2004-11-21T22:13:49Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:13, 21 November 2004&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;See also [[.bashrc]], [[.profile]], [[.cshrc]], [[.shrc]], [[.bash_profile]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;See also [[.bashrc]], [[.profile]], [[.cshrc]], [[.shrc]], [[.bash_profile]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[Category:Important Config Files]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;[Category:Important Config Files&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:670:newid:671 --&gt;
&lt;/table&gt;</summary>
		<author><name>Dave</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php?title=Shell_configuration_file&amp;diff=670&amp;oldid=prev</id>
		<title>Dave at 22:00, 21 November 2004</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php?title=Shell_configuration_file&amp;diff=670&amp;oldid=prev"/>
				<updated>2004-11-21T22:00:09Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Your [[shell]] is your environment -- your 'de facto' world -- in a Command Line Interface. You can change how your shell behaves and make it more convinient for your own use (or your user's use, if they're going to be using their shells a lot and you're the admin,) by editing your configuration file. The name of this file will change depending on which shell you're using, and it's important to note that since not all shells have compatible built-in commands, your different config files will not be cross-compatible.&lt;br /&gt;
&lt;br /&gt;
Shell configuration files are often used to change your prompt to something useful; e.g. &lt;br /&gt;
 dave@kadath:~ $ &lt;br /&gt;
instead of the more austere&lt;br /&gt;
 $ &lt;br /&gt;
&lt;br /&gt;
You can also define your [[PATH]] in your shell, as well as aliases for common typos (or to make commands you use regularly behave in handier ways, but be careful of changing serious commands (ie, [[rm]]) with an alias. Red Hat Linux does this by default -- aliasing [[rm]] with ''rm -i'', which is handy if you're a new user and aren't expecting rm to delete stuff RIGHT AWAY (which is [[rm]]'s 'raison d'etre', of course,) but if you move to another machine that doesn't have this alias, and you're expecting to be asked for confirmation....you could have problems, pilgrim.&lt;br /&gt;
&lt;br /&gt;
See also [[.bashrc]], [[.profile]], [[.cshrc]], [[.shrc]], [[.bash_profile]]&lt;br /&gt;
&lt;br /&gt;
[Category:Important Config Files]&lt;/div&gt;</summary>
		<author><name>Dave</name></author>	</entry>

	</feed>