<?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>Computer FAQs &#38; Tips &#187; Environment</title>
	<atom:link href="http://www.computer-faqs.com/tag/environment/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.computer-faqs.com</link>
	<description>Answers to your Questions, Tips to enhance your Experience</description>
	<lastBuildDate>Sun, 16 Aug 2009 23:16:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to find out Ubuntu version?</title>
		<link>http://www.computer-faqs.com/2008/12/24/how-to-find-out-ubuntu-version/</link>
		<comments>http://www.computer-faqs.com/2008/12/24/how-to-find-out-ubuntu-version/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 10:12:48 +0000</pubDate>
		<dc:creator>Manet</dc:creator>
				<category><![CDATA[FAQ & Tip]]></category>
		<category><![CDATA[Environment]]></category>
		<category><![CDATA[System-Information]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://compfaqs.acpiwat.com/?p=35</guid>
		<description><![CDATA[There are a few options/commands you can use to find out which version of Ubuntu you are using. They give very similar information which you wanted to know but present in different format. Command line: cat /etc/lsb-release Example: manet@ubuntu:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.10 DISTRIB_CODENAME=intrepid DISTRIB_DESCRIPTION="Ubuntu 8.10" Command line: lsb_release -a Example: manet@ubuntu:~$ lsb_release -a No [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few options/commands you can use to find out which version of Ubuntu you are using. They give very similar information which you wanted to know but present in different format.</p>
<p>Command line:</p>
<blockquote class="codefunction"><p>cat /etc/lsb-release</p></blockquote>
<p>Example:</p>
<pre class="cmdterminal">manet@ubuntu:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION="Ubuntu 8.10"</pre>
<p>Command line:</p>
<blockquote class="codefunction"><p>lsb_release -a</p></blockquote>
<p>Example:</p>
<pre class="cmdterminal">manet@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 8.10
Release:        8.10
Codename:       intrepid</pre>
<p>Command line:</p>
<blockquote class="codefunction"><p>cat /ect/issue</p></blockquote>
<p>Example:</p>
<pre class="cmdterminal">manet@ubuntu:~$ cat /etc/issue
Ubuntu 8.10 n l</pre>
<p>Command line:</p>
<blockquote class="codefunction"><p>cat /proc/version</p></blockquote>
<p>Example:</p>
<pre class="cmdterminal">manet@ubuntu:~$ cat /proc/version
Linux version 2.6.27-9-server (buildd@rothera)
(gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) )
#1 SMP Thu Nov 20 22:53:41 UTC 2008</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.computer-faqs.com/2008/12/24/how-to-find-out-ubuntu-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set Path in Linux?</title>
		<link>http://www.computer-faqs.com/2008/04/26/setting-path-in-linux/</link>
		<comments>http://www.computer-faqs.com/2008/04/26/setting-path-in-linux/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 19:23:00 +0000</pubDate>
		<dc:creator>Manet</dc:creator>
				<category><![CDATA[FAQ & Tip]]></category>
		<category><![CDATA[Environment]]></category>
		<category><![CDATA[Linux-Generic]]></category>

		<guid isPermaLink="false">http://compfaqs.acpiwat.com/?p=21</guid>
		<description><![CDATA[PATH is a System Environment Variable which you can find most of the important commands/values that are available to user. The syntax for setting your path can be slightly different dependent on which shell you are using. Note: Use finger command to find out which shell you are using $ finger manet Login: manet                            Name: [...]]]></description>
			<content:encoded><![CDATA[<p>PATH is a System Environment Variable which you can find most of the important commands/values that are available to user.</p>
<p>The syntax for setting your path can be slightly different dependent on which shell you are using.</p>
<p><strong>Note: </strong>Use <code>finger</code> command to find out which shell you are using</p>
<pre class="cmdterminal">$ finger manet
Login: manet                            Name: Manet Yim
Directory: /home/manet                  Shell: /bin/bash</pre>
<h4>Set path</h4>
<p>On bash shell</p>
<blockquote class="codefunction"><p>export PATH=$PATH:/usr/sbin/:/usr/local/bin</p></blockquote>
<p>On tcsh or csh shell</p>
<blockquote class="codefunction"><p>set PATH = ($PATH /usr/sbin /usr/local/bin)</p></blockquote>
<p>These settings can be added to your profile file so it will be available every time you login.</p>
<p><code> .bashrc</code> on bash shell or <code>.cshrc</code> on csh or tcsh shell.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.computer-faqs.com/2008/04/26/setting-path-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set global variable in Linux?</title>
		<link>http://www.computer-faqs.com/2007/09/04/how-to-set-global-variable-in-linux/</link>
		<comments>http://www.computer-faqs.com/2007/09/04/how-to-set-global-variable-in-linux/#comments</comments>
		<pubDate>Mon, 03 Sep 2007 17:14:00 +0000</pubDate>
		<dc:creator>Manet</dc:creator>
				<category><![CDATA[FAQ & Tip]]></category>
		<category><![CDATA[Environment]]></category>
		<category><![CDATA[Linux-Generic]]></category>

		<guid isPermaLink="false">http://compfaqs.acpiwat.com/?p=7</guid>
		<description><![CDATA[When you create a global variable, you are making it available system wide (for all users). It is an alias of a certain command or directory which/where it should be available and can be access from anywhere in the system. For example, you are installing Java Development Kit manually and javac command need to be [...]]]></description>
			<content:encoded><![CDATA[<p>When you create a global variable, you are making it available system wide (for all users). It is an alias of a certain command or directory which/where it should be available and can be access from anywhere in the system. For example, you are installing Java Development Kit manually and <code>javac</code> command need to be accessed from anywhere, then you create a variable for java home directory and the alias to <code>javac</code> command.</p>
<p>eg.</p>
<pre class="cmdterminal">
alias $JAVA_HOME=/usr/shared/jdk1.5
alias javac=$JAVA_HOME/bin/javac
</pre>
<p>Below is how to setup the global variables in linux. I am using Ubuntu Server 7.04 at the time I post this walk-through instruction.</p>
<p>The file <code>/ect/profile</code> is a system-wide profile for Bourne shell it’s also compatible with bash, ksh, ash. Edit this file to add your new environment variables.</p>
<ul>
<li>type: <code>sudo vi /etc/profile</code></li>
<li>Enter root password if prompted</li>
<li>Add the following lines
<pre class="cmdterminal">export VARIABLE_NAME=path_to_your_destination</pre>
</li>
<li>Repeat this line until you finish adding your variables</li>
<li>Exit current shell window and re-open (not reboot the machine)</li>
<li>type: <code>env</code> to list all environment variables that available to your current login,</li>
<li>You should see <code>VARIABLE_NAME=path_to_your_destination</code></li>
</ul>
<p>To test it</p>
<ul>
<li>type: <code>cd $VARIABLE_NAME</code></li>
<li>It should change current directory to <code>path_to_your_destination</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.computer-faqs.com/2007/09/04/how-to-set-global-variable-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
