<?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/"
	>

<channel>
	<title>Knowledge Sharing &#187; Environment Variables</title>
	<atom:link href="http://blog.danigunawan.com/tag/environment-variables/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.danigunawan.com</link>
	<description>"Say it... although a word..."</description>
	<lastBuildDate>Wed, 25 Jan 2012 00:14:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to Create Environment Variables in Linux</title>
		<link>http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-linux/</link>
		<comments>http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-linux/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 05:39:00 +0000</pubDate>
		<dc:creator>Dagu</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Environment Variables]]></category>

		<guid isPermaLink="false">http://blog.danigunawan.com/?p=515</guid>
		<description><![CDATA[This tutorial is still about creating environment variables, just like my last tutorial. But now I create environment variable in Linux, not Windows. To create or edit environment variable in linux is very easy. You may create or edit environment variable from terminal. The syntax is: export VAR_NAME=var_content For example: export JAVA_HOME=/usr/lib/jvm/sun-java6 Yes, very easy [...]
Related posts:<ol>
<li><a href='http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-windows/' rel='bookmark' title='How to Create Environment Variables in Windows'>How to Create Environment Variables in Windows</a></li>
<li><a href='http://blog.danigunawan.com/operating-systems/how-to-install-java-in-linux-ubuntu/' rel='bookmark' title='How To Install Java in Linux Ubuntu'>How To Install Java in Linux Ubuntu</a></li>
<li><a href='http://blog.danigunawan.com/linux/whos-accessing-your-linux-box/' rel='bookmark' title='Who&#8217;s Accessing Your Linux Box?'>Who&#8217;s Accessing Your Linux Box?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This tutorial is still about creating environment variables, just like <a title="environment variables" href="http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-windows/" target="_blank">my last tutorial</a>. But now I create environment variable in Linux, not Windows.</p>
<p>To create or edit environment variable in linux is very easy. You may create or edit environment variable from terminal.</p>
<p>The syntax is: <strong>export VAR_NAME=var_content</strong></p>
<p>For example:</p>
<pre>export JAVA_HOME=/usr/lib/jvm/sun-java6</pre>
<p>Yes, very easy right? If you want to append content to an existing variable, you can&#8217;t use command above. Command above will create a new variable, not append it. To append content, you may use command below.</p>
<p>The syntax is: <strong>export VAR_NAME=$VAR_NAME:var_content</strong></p>
<p>For example:</p>
<pre>export PATH=$PATH:/usr/lib/jvm/sun-java6/bin</pre>
<p>or, if you have created <strong>JAVA_HOME</strong> variable, you may use command below:</p>
<pre>export PATH=$PATH:$JAVA_HOME/bin</pre>
<p>Easy right?</p>
<p><strong>Note:</strong><br />
To define a variable, you <span style="text-decoration: underline;">don&#8217;t need &#8216;<strong>$</strong>&#8216; character</span>. But when you use it (for example when you append variable content), <span style="text-decoration: underline;">don&#8217;t forget &#8216;<strong>$</strong>&#8216; character</span>.</p>
<p>Related posts:<ol>
<li><a href='http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-windows/' rel='bookmark' title='How to Create Environment Variables in Windows'>How to Create Environment Variables in Windows</a></li>
<li><a href='http://blog.danigunawan.com/operating-systems/how-to-install-java-in-linux-ubuntu/' rel='bookmark' title='How To Install Java in Linux Ubuntu'>How To Install Java in Linux Ubuntu</a></li>
<li><a href='http://blog.danigunawan.com/linux/whos-accessing-your-linux-box/' rel='bookmark' title='Who&#8217;s Accessing Your Linux Box?'>Who&#8217;s Accessing Your Linux Box?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Create Environment Variables in Windows</title>
		<link>http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-windows/</link>
		<comments>http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-windows/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 07:08:48 +0000</pubDate>
		<dc:creator>Dagu</dc:creator>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Environment Variables]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.danigunawan.com/?p=512</guid>
		<description><![CDATA[If you are Windows user and need to create environment variables (some programming language need to set environment variables to run well), here is the step by step. Note that this tutorial is based on Windows XP. 1) Right click icon My Computer and choose Properties. You can find My Computer in Windows Explorer, or [...]
Related posts:<ol>
<li><a href='http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-linux/' rel='bookmark' title='How to Create Environment Variables in Linux'>How to Create Environment Variables in Linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you are Windows user and need to create environment variables (some programming language need to set environment variables to run well), here is the step by step. Note that this tutorial is based on Windows XP.</p>
<p><strong>1) Right click icon My Computer and choose Properties</strong>. You can find My Computer in Windows Explorer, or in Start Menu.</p>
<p><strong>2) Click Tab Advanced</strong>. In this tab you will find <strong>Environment Variables </strong>Button below. Click that button.</p>
<div id="attachment_516" class="wp-caption aligncenter" style="width: 330px"><a href="http://blog.danigunawan.com/wp-content/uploads/2009/04/env-winxp.jpg"><img class="size-full wp-image-516" title="env-winxp" src="http://blog.danigunawan.com/wp-content/uploads/2009/04/env-winxp.jpg" alt="Environment Variables Windows XP" width="320" height="371" /></a><p class="wp-caption-text">Environment Variables Windows XP</p></div>
<p><strong>3) There are two options</strong>. User Variables and System Variables. Click <strong>New</strong> button to create a new variable or <strong>Edit</strong> button to edit existing variable.</p>
<div id="attachment_517" class="wp-caption aligncenter" style="width: 330px"><a href="http://blog.danigunawan.com/wp-content/uploads/2009/04/env-var-winxp.jpg"><img class="size-full wp-image-517" title="env-var-winxp" src="http://blog.danigunawan.com/wp-content/uploads/2009/04/env-var-winxp.jpg" alt="System Variables" width="320" height="360" /></a><p class="wp-caption-text">System Variables</p></div>
<p><strong>4) You&#8217;re done!</strong></p>
<p>Related posts:<ol>
<li><a href='http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-linux/' rel='bookmark' title='How to Create Environment Variables in Linux'>How to Create Environment Variables in Linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

