<?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:series="http://unfoldingneurons.com/"
	>

<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>Sat, 07 Apr 2012 16:30:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Find and Remove a particular folder or file in Mac/Linux</title>
		<link>http://www.sajithmr.me/find-and-remove-a-particular-folder-or-file-in-maclinux</link>
		<comments>http://www.sajithmr.me/find-and-remove-a-particular-folder-or-file-in-maclinux#comments</comments>
		<pubDate>Tue, 05 Jul 2011 13:32:28 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/find-and-remove-a-particular-folder-or-file-in-maclinux/</guid>
		<description><![CDATA[Open a Terminal, and browser to the folder we want to start recursive deletion and run the following command , for example to delete all folder named .svn find ./ -name &#8220;.svn&#8221; &#124; xargs rm -Rf &#160;]]></description>
			<content:encoded><![CDATA[<p style="clear: both;">Open a Terminal, and browser to the folder we want to start recursive deletion and run the following command , for example to delete all folder named .svn</p>
<p>find ./ -name &#8220;.svn&#8221; | xargs rm -Rf</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/find-and-remove-a-particular-folder-or-file-in-maclinux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check Public IP in Unix (Linux)</title>
		<link>http://www.sajithmr.me/check-public-ip-in-unix-linux</link>
		<comments>http://www.sajithmr.me/check-public-ip-in-unix-linux#comments</comments>
		<pubDate>Tue, 05 Apr 2011 13:54:16 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[public]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/check-public-ip-in-unix-linux/</guid>
		<description><![CDATA[Use the below code to check your public IP from your linux console. wget -q -O &#8211; checkip.dyndns.org&#124;sed -e &#8216;s/.*Current IP Address: //&#8217; -e &#8216;s/]]></description>
			<content:encoded><![CDATA[<p style="clear: both">Use the below code to check your public IP from your linux console. </p>
<p style="clear: both">wget -q -O &#8211; checkip.dyndns.org|sed -e &#8216;s/.*Current IP Address: //&#8217; -e &#8216;s/<.*$//'</p>
<p><br class="final-break" style="clear: both" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/check-public-ip-in-unix-linux/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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>Mr Me</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>Mr Me</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.me/wp-content/uploads/2008/02/ntfs-1.jpg"><img class="alignnone size-full wp-image-873" title="ntfs-1" src="http://www.sajithmr.me/wp-content/uploads/2008/02/ntfs-1.jpg" alt="" width="300" height="225" /></a></p>
<p>Steps:</p>
<p><span style="color: #99cc00;"><strong> 1) sudo apt-get install ntfs-3g</strong></span></p>
<p><span style="color: #99cc00;"><strong> </strong><span style="color: #000000;">Installs  ntfs-3g library</span></span><br />
<strong><span style="color: #99cc00;"> 2) sudo fdisk -l</span></strong></p>
<p>Shows all the disk drives<br />
<strong><span style="color: #99cc00;">3) sudo mkdir /media/windowsC</span></strong></p>
<p>Create a directory for mounting your NTFS file system</p>
<p><a title="Ubuntu logo" href="http://www.sajithmr.com/wp-content/uploads/2008/02/small-ubuntu.jpg"><img src="http://www.sajithmr.com/wp-content/uploads/2008/02/small-ubuntu.jpg" alt="Ubuntu logo" /></a><br />
<span style="color: #99cc00;"><strong>4) sudo cp /etc/fstab /etc/fstab.bak</strong></span></p>
<p>Take a backup of old conf file</p>
<p><span style="color: #99cc00;"><strong>5) gksudo gedit /etc/fstab</strong></span></p>
<p>Edit the configuration file</p>
<p><strong><span style="color: #99cc00;"> 6) /dev/sda2    /media/windowsC    ntfs-3g    defaults,locale=en_US.utf8    0    0</span></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><span style="color: #99cc00;">/media/windowsC</span></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>

