<?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; Linux</title>
	<atom:link href="http://blog.danigunawan.com/category/linux/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>Extract zip, tar.gz, tar.bz2</title>
		<link>http://blog.danigunawan.com/operating-systems/extract-zip-targz-tarbz2/</link>
		<comments>http://blog.danigunawan.com/operating-systems/extract-zip-targz-tarbz2/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 13:11:06 +0000</pubDate>
		<dc:creator>Dagu</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Compress]]></category>
		<category><![CDATA[Extract]]></category>
		<category><![CDATA[Zip]]></category>

		<guid isPermaLink="false">http://blog.danigunawan.com/?p=547</guid>
		<description><![CDATA[There are so many ways to extract zip or tar.gz or tar.bz2. You can use GUI or command line. In this tutorial, I would like to show you how to extract compressed files using command line. Extract zip file: unzip file_name.zip Extract tar.gz file: tar -xzf file_name.tar.gz or tar -xvzf file_name.tar.gz Extract tar.bz2 file: tar [...]
Related posts:<ol>
<li><a href='http://blog.danigunawan.com/web/avoid-direct-download/' rel='bookmark' title='Avoid Direct Download'>Avoid Direct Download</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>There are so many ways to extract zip or tar.gz or tar.bz2. You can use GUI or command line. In this tutorial, I would like to show you how to extract compressed files using command line.</p>
<p>Extract zip file:</p>
<pre>unzip file_name.zip</pre>
<p>Extract tar.gz file:</p>
<pre>tar -xzf file_name.tar.gz</pre>
<p>or</p>
<pre>tar -xvzf file_name.tar.gz</pre>
<p>Extract tar.bz2 file:</p>
<pre>tar -xjf file_name.tar.bz2</pre>
<p>or</p>
<pre>tar -xvjf file_name.tar.bz2</pre>
<p>Notice in tar command, there is -v parameter. It tells the application to show the extracted files (verbose).</p>
<p>Those are the standard way to extract. If you need more functionality, just use man command.</p>
<pre>man unzip</pre>
<pre>man tar</pre>
<p>Related posts:<ol>
<li><a href='http://blog.danigunawan.com/web/avoid-direct-download/' rel='bookmark' title='Avoid Direct Download'>Avoid Direct Download</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.danigunawan.com/operating-systems/extract-zip-targz-tarbz2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Send Message Over Linux Console</title>
		<link>http://blog.danigunawan.com/linux/send-message-over-linux-console/</link>
		<comments>http://blog.danigunawan.com/linux/send-message-over-linux-console/#comments</comments>
		<pubDate>Sat, 16 May 2009 02:41:28 +0000</pubDate>
		<dc:creator>Dagu</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Console]]></category>
		<category><![CDATA[Message]]></category>

		<guid isPermaLink="false">http://blog.danigunawan.com/?p=535</guid>
		<description><![CDATA[Why do we send message over linux console? We can send message using our favorite messenger. That&#8217;s right. But, imagine if you are working in a linux machine using a console and want to talk to another user without moving from your console. To do this, you can use a command named write. Ummm&#8230; how [...]
Related posts:<ol>
<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>
<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>
<li><a href='http://blog.danigunawan.com/linux/checking-disk-capacity-in-linux/' rel='bookmark' title='Checking Disk Capacity in Linux'>Checking Disk Capacity in Linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Why do we send message over linux console? We can send message using our favorite messenger. That&#8217;s right. But, imagine if you are working in a linux machine using a console and want to talk to another user without moving from your console. To do this, you can use a command named <strong>write</strong>.</p>
<p>Ummm&#8230; how if I want to know who&#8217;s accessing a linux machine? You can use command <a title="command who" href="http://blog.danigunawan.com/linux/whos-accessing-your-linux-box/" target="_blank">who</a>. Ok how to use write command? It&#8217;s easy.</p>
<pre>write user [ttyname]</pre>
<p>Example:</p>
<pre>$write dani
Hi.. how u doin?
You need to sign the contract.</pre>
<p>You can write your message in the new line. If you want to stop it, you may use <strong>Ctrl+C</strong>.</p>
<p>What will appear in user dani?</p>
<pre>Message from gunawan@linuxmachine on pts/3 at 09:16 ...
Hi.. how u doin?
You need to sign the contract.
EOF</pre>
<p>notice that at the end of message you will see <strong>EOF</strong>.</p>
<p>Related posts:<ol>
<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>
<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>
<li><a href='http://blog.danigunawan.com/linux/checking-disk-capacity-in-linux/' rel='bookmark' title='Checking Disk Capacity in Linux'>Checking Disk Capacity in Linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.danigunawan.com/linux/send-message-over-linux-console/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Who&#8217;s Accessing Your Linux Box?</title>
		<link>http://blog.danigunawan.com/linux/whos-accessing-your-linux-box/</link>
		<comments>http://blog.danigunawan.com/linux/whos-accessing-your-linux-box/#comments</comments>
		<pubDate>Sat, 16 May 2009 02:13:40 +0000</pubDate>
		<dc:creator>Dagu</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Console]]></category>
		<category><![CDATA[Who]]></category>

		<guid isPermaLink="false">http://blog.danigunawan.com/?p=533</guid>
		<description><![CDATA[An easy way to view who&#8217;s accessing a linux machine is using command named who. $ who dani          pts/0       May 16 08:16 (10.1.12.12) akachan  pts/1        May 16 08:20 (10.1.12.51) dewi         pts/2        May 16 08:39 (10.1.12.94) easy isn&#8217;t it? Related posts: Send Message Over Linux Console How to Create Environment Variables in Linux
Related posts:<ol>
<li><a href='http://blog.danigunawan.com/linux/send-message-over-linux-console/' rel='bookmark' title='Send Message Over Linux Console'>Send Message Over Linux Console</a></li>
<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>An easy way to view who&#8217;s accessing a linux machine is using command named<strong> who</strong>.</p>
<pre>$ who
dani          pts/0        May 16 08:16 (10.1.12.12)
akachan       pts/1        May 16 08:20 (10.1.12.51)
dewi          pts/2        May 16 08:39 (10.1.12.94)</pre>
<p>easy isn&#8217;t it?</p>
<p>Related posts:<ol>
<li><a href='http://blog.danigunawan.com/linux/send-message-over-linux-console/' rel='bookmark' title='Send Message Over Linux Console'>Send Message Over Linux Console</a></li>
<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/linux/whos-accessing-your-linux-box/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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>Checking Disk Capacity in Linux</title>
		<link>http://blog.danigunawan.com/linux/checking-disk-capacity-in-linux/</link>
		<comments>http://blog.danigunawan.com/linux/checking-disk-capacity-in-linux/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 05:14:00 +0000</pubDate>
		<dc:creator>Dagu</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.danigunawan.com/2007/11/13/ngecek-kapasitas-harddisk-di-linux/</guid>
		<description><![CDATA[In my work, I should be familiar with linux server. Because it uses CLI (Command Line Interface), then it&#8217;s a bit difficult to use. One of my problems is how to check disk capacity. Previously, my friend had told me, but I forget it :(. In order not to forget it, I will share it [...]
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>In my work, I should be familiar with linux server. Because it uses CLI (Command Line Interface), then it&#8217;s a bit difficult to use. One of my problems is how to check disk capacity. Previously, my friend had told me, but I forget it :(. In order not to forget it, I will share it in my blog. So, if I forget it, I only need to open my blog.. :)</p>
<p>Command to check disk capacity is <em>df</em>. Short description:  <span style="font-style: italic;">df &#8211; report filesystem disk space usage</span>. Use man df to get more information.</p>
<p><span id="more-88"></span></p>
<p><strong>Usage example:</strong></p>
<pre><span style="font-family: courier new;">$ df</span>
<span style="font-family: courier new;">Filesystem           1K-blocks      Used Available Use% Mounted on</span>
<span style="font-family: courier new;">/dev/sda1             14877092   9090552   5018636  65% /</span>
<span style="font-family: courier new;">/dev/shm               1037556         0   1037556   0% /dev/shm</span>
<span style="font-family: courier new;">/dev/sdb1             68890968  24462748  40872236  38% /home</span>
<span style="font-family: courier new;">/dev/sda5             14877060   6418492   7690664  46% /var</span></pre>
<p>Oops, it&#8217;s not clear enough. To make it clear, add <em>-h</em> parameter.</p>
<pre><span style="font-family: courier new;">$ df -h</span>
<span style="font-family: courier new;">Filesystem            Size  Used Avail Use% Mounted on</span>
<span style="font-family: courier new;">/dev/sda1              15G  8.7G  4.8G  65% /</span>
<span style="font-family: courier new;">/dev/shm             1014M     0 1014M   0% /dev/shm</span>
<span style="font-family: courier new;">/dev/sdb1              66G   24G   39G  38% /home</span>
<span style="font-family: courier new;">/dev/sda5              15G  6.2G  7.4G  46% /var</span></pre>
<p>Hmm&#8230; it&#8217;s better, isn&#8217;t it?</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/linux/checking-disk-capacity-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

