<?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>Programming Ideas, Logics, Tips and Tricks &#187; linux</title>
	<atom:link href="http://www.sajithmr.me/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sajithmr.me</link>
	<description></description>
	<lastBuildDate>Thu, 15 Jul 2010 10:34:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>The Tale of Tail (Unix Command)</title>
		<link>http://www.sajithmr.me/tail/</link>
		<comments>http://www.sajithmr.me/tail/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 15:44:57 +0000</pubDate>
		<dc:creator>Sajith M.R</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[bottom]]></category>
		<category><![CDATA[follow]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[head]]></category>
		<category><![CDATA[tail]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/tail/</guid>
		<description><![CDATA[The most interesting and useful command i ever used is tail in unix. As the name indicate its duty is to show the last lines of a particular file. When take the case of log files such as error logs, always we have to know the last lines or last updations instead of reading from [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.sajithmr.com/wp-content/uploads/2008/03/pink_tail.jpg" alt="Unix Tail Function" /></p>
<p><strong><font size="5">T</font></strong>he most interesting and useful command i ever used is <strong>tail</strong> in <strong>unix</strong>. As the name indicate its duty is to show the last lines of a particular file. When take the case of log files such as error logs, always we have to know the last lines or last updations instead of reading from top to bottom or search a full text file.</p>
<p>for its option try this tail &#8211;help</p>
<p><font color="#008000"><strong>tail</strong></font> -n 10 <font color="#ff0000">error.log </font></p>
<p>shows last 10 lines of error.log</p>
<p>The very interesting option is -f , means open the file and follow the last lines.</p>
<p>This is very useful for debugging purpose. For example if you want to check error.log lively, use this option</p>
<p><font color="#008000"><strong>tail</strong></font> -f <font color="#ff0000">error.log</font></p>
<p>it displays last lines and also automatically updates when any changes happens in error.log file. So you can check other operation by tailing and following a particular file .</p>
<p>Try today itself. You will be very much interested, thats my guarantee <img src='http://www.sajithmr.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>(There is also a similar function &#8216;head&#8217;, you can guess what its use,  google it for more)</p>
<p>Regards</p>
<p>Sajith</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/tail/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mount NTFS File System in Ubuntu (debian)</title>
		<link>http://www.sajithmr.me/mount-ntfs-file-system-in-ubuntu-debian/</link>
		<comments>http://www.sajithmr.me/mount-ntfs-file-system-in-ubuntu-debian/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 04:46:55 +0000</pubDate>
		<dc:creator>Sajith M.R</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[ntfs]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/mount-ntfs-file-system-in-ubuntu-debian/</guid>
		<description><![CDATA[Steps: 1) sudo apt-get install ntfs-3g Installs ntfs-3g library 2) sudo fdisk -l Shows all the disk drives 3) sudo mkdir /media/windowsC Create a directory for mounting your NTFS file system 4) sudo cp /etc/fstab /etc/fstab.bak Take a backup of old conf file 5) gksudo gedit /etc/fstab Edit the configuration file 6) /dev/sda2 /media/windowsC ntfs-3g [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sajithmr.com/wp-content/uploads/2008/02/ntfs-1.jpg" title="NTFS in UBUNTU"><img src="http://www.sajithmr.com/wp-content/uploads/2008/02/ntfs-1.jpg" alt="NTFS in UBUNTU" /></a></p>
<p>Steps:</p>
<p><font color="#99cc00"><strong> 1) sudo apt-get install ntfs-3g</strong></font></p>
<p><font color="#99cc00"><strong>       </strong><font color="#000000">Installs  ntfs-3g library</font></font><br />
<strong><font color="#99cc00"> 2) sudo fdisk -l</font></strong></p>
<p>Shows all the disk drives<br />
<strong><font color="#99cc00">3) sudo mkdir /media/windowsC</font></strong></p>
<p>Create a directory for mounting your NTFS file system</p>
<p><a href="http://www.sajithmr.com/wp-content/uploads/2008/02/small-ubuntu.jpg" title="Ubuntu logo"><img src="http://www.sajithmr.com/wp-content/uploads/2008/02/small-ubuntu.jpg" alt="Ubuntu logo" /></a><br />
<font color="#99cc00"><strong>4) sudo cp /etc/fstab /etc/fstab.bak</strong></font></p>
<p>Take a backup of old conf file</p>
<p><font color="#99cc00"><strong>5) gksudo gedit /etc/fstab</strong></font></p>
<p>Edit the configuration file</p>
<p><strong><font color="#99cc00"> 6) /dev/sda2    /media/windowsC    ntfs-3g    defaults,locale=en_US.utf8    0    0</font></strong></p>
<p>Add the above line to the end of that file. (Here sda2 is the ntfs partition, getting from fdisk -l )</p>
<p>Restart ubuntu and you can see the ntfs filesystem mounted on  <strong><font color="#99cc00">/media/windowsC</font></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/mount-ntfs-file-system-in-ubuntu-debian/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
