<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>仙人の心得 &#187; bash</title>
	<atom:link href="http://blog.mktime.com/archive/tag/bash/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.mktime.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 31 Aug 2010 12:04:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://blog.mktime.com/archive/tag/bash/feed" />
		<item>
		<title>.bashrcと.bash_profile</title>
		<link>http://blog.mktime.com/archive/6.html</link>
		<comments>http://blog.mktime.com/archive/6.html#comments</comments>
		<pubDate>Tue, 08 Jul 2008 00:10:44 +0000</pubDate>
		<dc:creator>nak</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[profile]]></category>

		<guid isPermaLink="false">http://blog.mktime.com/?p=4</guid>
		<description><![CDATA[
.bashrcはbashを起動する度に読み込まれる。/etc/bashrcを読み込む。
.bash_profileはログインしたときに読み込まれる。/etc/bash_profileを読み込む。ログインしたときは.ba [...]]]></description>
			<content:encoded><![CDATA[<p>
<span>.bashrcはbashを起動する度に読み込まれる。/etc/bashrcを読み込む。<br />
.bash_profileはログインしたときに読み込まれる。/etc/bash_profileを読み込む。ログインしたときは.bashrcも読み込む。</span><br />
<br />
.bashrcに記述したものは再ログインしなくても、bashコマンドでbashを起動するだけで反映される。<br />
<br />
.bash_profileの変更はは再ログインしたときに読み込まれる。<br />
<br />
以上の違いから環境変数は.bash_profile、エイリアスは.bashrcに書くのが一般的らしい。<br />
<br />
sourceコマンドで.bashrc、.bash_profileを再読込するならどっちでも同じなので<br />
全部.bashrcに書いてもかまわない。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mktime.com/archive/6.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://blog.mktime.com/archive/6.html" />
	</item>
	</channel>
</rss>
