<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;D0ENQ30-eip7ImA9WhRWFko.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655</id><updated>2012-01-04T03:14:52.352-08:00</updated><category term="Malayalam kavithakal" /><category term="scripting" /><category term="process states" /><category term="Fedora" /><category term="special characters at bash prompt" /><category term="My philosophy" /><category term="special characters at bash" /><category term="personal" /><category term="FC12" /><category term="bash" /><category term="Linux" /><category term="poems" /><title>My Footprints..</title><subtitle type="html">Sky is not the Limit. There are footprints on the moon!</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://bashmonk.blogspot.com/" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/MyFootprints" /><feedburner:info uri="myfootprints" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;D0ENQ30-cSp7ImA9WhRWFko.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-1360683581010365624</id><published>2012-01-04T03:14:00.000-08:00</published><updated>2012-01-04T03:14:52.359-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-04T03:14:52.359-08:00</app:edited><title>After a long break</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Its been more than an year since I have blogged on something. Life has changed a lot in the last year. So far it has been the most eventful year in my career. It is an year in which I had put an end to my life as a techie and started a new one as business man. Yes, I always felt that "Money is the mother of all sins" :).&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Living in Saudi Arabia is one among the worst things that you could do to make money. As Pinky's dad use to tell "It is an open jail". But yes, you make big money here. I always feel sorry for pinky for all the suffering she takes to be with me.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Time to catchup with some Linux, Else I may loose it all..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-1360683581010365624?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XZvoMejYz-TIQWaegcdaCqMK1aQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XZvoMejYz-TIQWaegcdaCqMK1aQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XZvoMejYz-TIQWaegcdaCqMK1aQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XZvoMejYz-TIQWaegcdaCqMK1aQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/sWAFHeiVza8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/1360683581010365624/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=1360683581010365624" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/1360683581010365624?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/1360683581010365624?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/sWAFHeiVza8/after-long-break.html" title="After a long break" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2012/01/after-long-break.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4AR30-fip7ImA9Wx5bGEk.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-6328895077809257123</id><published>2010-11-03T20:55:00.000-07:00</published><updated>2010-11-03T20:55:46.356-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-03T20:55:46.356-07:00</app:edited><title>Up and running on Fedora14</title><content type="html">In suzie's words .. "bashmonk is a bleeding edge user of Fedora".. Yup! I proved it again. I got Fedora 14 on my TP before anyone else in IBM :) India Labs..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-6328895077809257123?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6SiYNJyEyY2eLr70th7X-3yTFJA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6SiYNJyEyY2eLr70th7X-3yTFJA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6SiYNJyEyY2eLr70th7X-3yTFJA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6SiYNJyEyY2eLr70th7X-3yTFJA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/XNB3gEBTw0E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/6328895077809257123/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=6328895077809257123" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/6328895077809257123?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/6328895077809257123?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/XNB3gEBTw0E/up-and-running-on-fedora14.html" title="Up and running on Fedora14" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2010/11/up-and-running-on-fedora14.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIFRn85eip7ImA9Wx5TEUk.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-806813266770697647</id><published>2010-07-26T05:31:00.000-07:00</published><updated>2010-07-26T05:31:57.122-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-26T05:31:57.122-07:00</app:edited><title>The new bundle from Heaven has arrived</title><content type="html">Yup! she is finally there. The lil one.. :). After the long wait of 9 months she has made her way to our life. Our new gift from God.. She has made our home to grow by ~1.5 fts and 3.2 Kgs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_Dey5c-lXgsE/TE1_2g_O2TI/AAAAAAAACXY/hoM75laCZW0/s1600/Michelle.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_Dey5c-lXgsE/TE1_2g_O2TI/AAAAAAAACXY/hoM75laCZW0/s320/Michelle.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-806813266770697647?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gPVlx2D4zE8W1ZeF04dPvJV2Y3w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gPVlx2D4zE8W1ZeF04dPvJV2Y3w/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gPVlx2D4zE8W1ZeF04dPvJV2Y3w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gPVlx2D4zE8W1ZeF04dPvJV2Y3w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/Oloz3jk5jAQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/806813266770697647/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=806813266770697647" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/806813266770697647?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/806813266770697647?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/Oloz3jk5jAQ/new-bundle-from-heaven-has-arrived.html" title="The new bundle from Heaven has arrived" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_Dey5c-lXgsE/TE1_2g_O2TI/AAAAAAAACXY/hoM75laCZW0/s72-c/Michelle.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2010/07/new-bundle-from-heaven-has-arrived.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkQESHc6eip7ImA9WxBbEUw.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-4165271708604880971</id><published>2010-03-08T23:05:00.001-08:00</published><updated>2010-03-08T23:05:09.912-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-08T23:05:09.912-08:00</app:edited><title>Test from Blogilo</title><content type="html">&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;&lt;p&gt;Yup !! It works!!&lt;/p&gt;&lt;p&gt;=-=-=-=-=&lt;br/&gt;&lt;i&gt;Powered by &lt;b&gt;&lt;a href='http://blogilo.gnufolks.org/'&gt;Blogilo&lt;/a&gt;&lt;/b&gt;&lt;/i&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-4165271708604880971?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-G_oY7BTDV40yIpYGAV5Vt9Eff8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-G_oY7BTDV40yIpYGAV5Vt9Eff8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-G_oY7BTDV40yIpYGAV5Vt9Eff8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-G_oY7BTDV40yIpYGAV5Vt9Eff8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/YiEcG4qt53w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/4165271708604880971/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=4165271708604880971" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/4165271708604880971?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/4165271708604880971?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/YiEcG4qt53w/test-from-blogilo.html" title="Test from Blogilo" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2010/03/test-from-blogilo.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUARno5fip7ImA9WxBWGEQ.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-8802494181406527163</id><published>2010-02-11T05:09:00.000-08:00</published><updated>2010-02-11T05:17:27.426-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-11T05:17:27.426-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="process states" /><title>Linux Process States</title><content type="html">The Linux kernel stores the list of processes in a circular doubly linked list of structures task_struct, called the task list. The process descriptor (task_struct) contains all the information about a specific process.Each task_struct structure has a state enry which describes the current state  of the process. At any time on a Linux machine the processes running on it are in exactly one of five different states. The struct task_struct and the five states are defined in linux/sched.h.&lt;br /&gt;
&lt;br /&gt;
TASK_RUNNING - runnable; The task is either  running or ready to run and waiting in the runqueue. &lt;br /&gt;
&lt;br /&gt;
TASK_INTERRUPTIBLE - sleeping or blocked; In this state the process is waiting for some event to complete. When it completes, the kernel puts back the process to the runqueue and make it runnable by changing the state to TASK_RUNNING. The process can also respond to a signal in this state.&lt;br /&gt;
&lt;br /&gt;
TASK_UNINTERRUPTIBLE - Uninterrupted sleep; This is exactly the same state as TASK_INTERRUPTIBLE but it cannot be interrupted by any signals to make it runnable. This happens typically with the IO operation. This is used when the process must wait without interruption or when the event is expected to occur quite quickly like an IO operation. They are unkillable as  the task will not respond to signals(SIGKILL wont work). These are the D state process that you will find with the ps command. Its not advised to attempt a kill on this process (by killing the parent), as the task may be in the middle of some important operation and may be holding some resources.&lt;br /&gt;
&lt;br /&gt;
TASK_ZOMBIE - Zombie; A special case when the task has completed but its parent has not yet reaped it, by issuing a wait4() system call. A zombie process just occupies an entry in the process table. This entry exists because in case the parent wants to access it, the descriptor should be available. When the parent calls wait4() a zombie disappears.&lt;br /&gt;
&lt;br /&gt;
TASK_STOPPED - All is well :) and is stopped; The task is not running and will not be scheduled.May be killed or caught by other signals.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-8802494181406527163?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0255FVejRvbRNAf-_g3Oj26sW0U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0255FVejRvbRNAf-_g3Oj26sW0U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0255FVejRvbRNAf-_g3Oj26sW0U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0255FVejRvbRNAf-_g3Oj26sW0U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/aEqfgWUbLzM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/8802494181406527163/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=8802494181406527163" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/8802494181406527163?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/8802494181406527163?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/aEqfgWUbLzM/linux-process-states.html" title="Linux Process States" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2010/02/linux-process-states.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkIFRXgzcSp7ImA9WxNbGEU.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-7613338418156867564</id><published>2009-11-22T02:52:00.000-08:00</published><updated>2009-11-22T03:15:14.689-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-22T03:15:14.689-08:00</app:edited><title>Google Chrome on Fedora</title><content type="html">Yes, Now its available on Linux. The much waited Google Chrome on Linux. Its still an unstable  version available on Linux, but is worth a try.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a file /etc/yum.repos.d/google-chrome.repo with the contents below&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-style:italic;"&gt;[google-chrome]&lt;br /&gt;
name=google-chrome&lt;br /&gt;
baseurl=http://dl.google.com/linux/rpm/stable/i386&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Install chrome&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-style:italic;"&gt;yum install google-chrome&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Enjoy&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-7613338418156867564?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZpIu_oyu8IdyMNxqy16L8pd0-wQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZpIu_oyu8IdyMNxqy16L8pd0-wQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZpIu_oyu8IdyMNxqy16L8pd0-wQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZpIu_oyu8IdyMNxqy16L8pd0-wQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/m-9i1O_-fMI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/7613338418156867564/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=7613338418156867564" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/7613338418156867564?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/7613338418156867564?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/m-9i1O_-fMI/google-chrome-on-fedora.html" title="Google Chrome on Fedora" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2009/11/google-chrome-on-fedora.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUEEQnYyfyp7ImA9WxNbGEo.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-4452641154656575167</id><published>2009-11-21T23:10:00.000-08:00</published><updated>2009-11-22T00:13:23.897-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-22T00:13:23.897-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="FC12" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="Fedora" /><title>I'm There with FC12  (Fedora Core 12) and IBM desktop apps :)</title><content type="html">Well it was a journey of a Linux freak . I lost the data in my entire TP. Thank heavens, I had my backup done in my USB HDD. &lt;br /&gt;&lt;br /&gt;  It all started up with FC12 The installation went fine, I didn't take a chance with putting ext4 file system on /boot partition as it was not working on FC11. The installation went fine and I got the IBM layer installed on it. Thanks to Grant Williamson for making appropriate packages available in the IBM yum repo. He was too good with his support. I was happy except that the mouse pointer was slow after the installation of the IBM layer. I tuned it through the Gnome preferences. Thanks &lt;a href="http://bytebump.blogspot.com"&gt;Srini&lt;/a&gt; for the &lt;a href="http://dnmouse.org/autoten.html"&gt;autoten&lt;/a&gt; repo to make the nonfree stuff working . Everything was set up and I was ready to click the Lotus notes icon. To my surprise nothing really happened. I  tried the command line notes85.sh and it failed telling that the libnotes.so is not able to create a stack. &lt;br /&gt;&lt;br /&gt;  Phew!! the entire work has gone on a toss. I checked the logs and it showed that the Selinux is giving some permission errors. I turned the Selinux policy to permissive and then restarted notes. It worked like a charm!! :). &lt;br /&gt;&lt;br /&gt;  Now came the next issue. The Clearcase client which was running fine on FC11 has started giving me some errors. It started telling me that the libswt-mozilla-gtk-3236.so has some undefined symbol _ZN4nsID5ParseEPKc. Hmm.. I know what it means :-P. I got the xulrunner-devel package installed and made clearcase happy.&lt;br /&gt;&lt;br /&gt;I haven't tried  KDE yet. I want to keep up suspense and excitement, and gift me a surprise.&lt;br /&gt;&lt;br /&gt;  Here are my favourite apps, Being a hardcore KDE fan some of the apps below may not work well with Gnome.&lt;br /&gt;&lt;br /&gt;Chat/IM - empathy/pidgin/sametime&lt;br /&gt;IRC - Konversation&lt;br /&gt;Password management - Kwallet&lt;br /&gt;Personal Finance - kmymoney&lt;br /&gt;Email  - Lotus Notes / thunderbird&lt;br /&gt;Twitter Microblogging - choqok&lt;br /&gt;Notes - Tomboy/Kjots&lt;br /&gt;Editor - vim/gedit/kate&lt;br /&gt;Browser - Firefox/chrome/seamonkey&lt;br /&gt;Music - amarok/rhythmbox&lt;br /&gt;Other tools- rsibreak,digikam,gimp,picasa&lt;br /&gt;IDE - Rational Application Developer/Eclipse&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-4452641154656575167?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9cTdcCSyaw59f_b3YmGbWYhwgmY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9cTdcCSyaw59f_b3YmGbWYhwgmY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9cTdcCSyaw59f_b3YmGbWYhwgmY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9cTdcCSyaw59f_b3YmGbWYhwgmY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/ueYQ-5zZTkc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/4452641154656575167/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=4452641154656575167" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/4452641154656575167?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/4452641154656575167?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/ueYQ-5zZTkc/im-there-with-fc12-fedora-core-12-and.html" title="I'm There with FC12  (Fedora Core 12) and IBM desktop apps :)" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2009/11/im-there-with-fc12-fedora-core-12-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUCRn05fip7ImA9WxNbGEo.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-4537379893285258250</id><published>2009-11-21T23:04:00.000-08:00</published><updated>2009-11-22T00:07:47.326-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-22T00:07:47.326-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="FC12" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="Fedora" /><title>Using DVD as your Yum repo - FC12</title><content type="html">Its as simple as this&lt;br /&gt;&lt;br /&gt;vi /etc/yum.repos.d/dvd.repo&lt;br /&gt;&lt;br /&gt;Put the following entries&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;[dvd]&lt;br /&gt;name=Fedora DVD&lt;br /&gt;baseurl=file:///media/Fedora\ 12\ i386\ DVD/&lt;br /&gt;enabled=1&lt;br /&gt;gpgcheck=0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Save &lt;ESC :wq&gt; and start using it :).&lt;br /&gt;&lt;br /&gt; If you have a DVD image, them loop mount it to some location and modify the dvd.repo file as below&lt;br /&gt;&lt;br /&gt;To Loop mount&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;mount -o loop /path/of/DVD.iso_file /path/to/your/mount_poin&lt;/span&gt;t&lt;br /&gt;&lt;br /&gt;dvd.repo file&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;[dvd]&lt;br /&gt;name=Fedora DVD&lt;br /&gt;baseurl=file:///path/to/your/mountpoint&lt;br /&gt;enabled=1&lt;br /&gt;gpgcheck=0&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-4537379893285258250?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/V13ztkqXGv863JqIke8Tk9gvY80/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/V13ztkqXGv863JqIke8Tk9gvY80/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/V13ztkqXGv863JqIke8Tk9gvY80/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/V13ztkqXGv863JqIke8Tk9gvY80/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/jR0y244zEZc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/4537379893285258250/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=4537379893285258250" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/4537379893285258250?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/4537379893285258250?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/jR0y244zEZc/using-dvd-as-your-yum-repo-fc12.html" title="Using DVD as your Yum repo - FC12" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2009/11/using-dvd-as-your-yum-repo-fc12.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4ERn48fCp7ImA9WxVVFEw.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-2593047883391332849</id><published>2009-03-06T01:56:00.000-08:00</published><updated>2009-03-07T01:08:27.074-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-07T01:08:27.074-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="My philosophy" /><title>A beautiful thought!</title><content type="html">This was a fortune tumbled down by my /usr/bin/fortune at my bash prompt. I liked it very much&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;The highest good is like water.&lt;br /&gt;Water give life to the ten thousand things and does not strive.&lt;br /&gt;It flows in places men reject and so is like the Tao.&lt;br /&gt;In dwelling, be close to the land.&lt;br /&gt;In meditation, go deep in the heart.&lt;br /&gt;In dealing with others, be gentle and kind.&lt;br /&gt;In speech, be true.&lt;br /&gt;In ruling, be just.&lt;br /&gt;In daily life, be competent.&lt;br /&gt;In action, be aware of the time and the season.&lt;br /&gt;No fight:  No blame.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-2593047883391332849?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ecFGmhMi_VjSKNTrFUW9SB9vT6s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ecFGmhMi_VjSKNTrFUW9SB9vT6s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ecFGmhMi_VjSKNTrFUW9SB9vT6s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ecFGmhMi_VjSKNTrFUW9SB9vT6s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/j4ZlFcru4ys" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/2593047883391332849/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=2593047883391332849" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/2593047883391332849?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/2593047883391332849?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/j4ZlFcru4ys/this-was-fortune-tumbled-down-by-my.html" title="A beautiful thought!" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2009/03/this-was-fortune-tumbled-down-by-my.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUBRHc9eip7ImA9WxVQEk8.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-7628162670733289711</id><published>2009-01-05T03:03:00.000-08:00</published><updated>2009-01-29T02:50:55.962-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-29T02:50:55.962-08:00</app:edited><title>Positional Paramters at bash</title><content type="html">The positional parameters or command line parameters are those which are passed as arguments to the script&lt;br /&gt;&lt;br /&gt;eg: &lt;span style="font-style:italic;"&gt;#myscript.sh arg1 arg2 arg3 arg4&lt;/span&gt; &lt;br /&gt;&lt;br /&gt; Here arg1, arg2, arg3, and arg4 are positional or command line parameters. Now lets look at how these command line parameters can be used in the script. Bash keeps some internal variables in which the positional parameters are saved. They are as below&lt;br /&gt;&lt;br /&gt;$0 Filename of script&lt;br /&gt;$1 - $n Positional parameters #1 - #n&lt;br /&gt;$# Number of positional parameters&lt;br /&gt;"$*" All the positional parameters &lt;br /&gt;"$@" All the positional parameters (why two of them ???)&lt;br /&gt;${#*} Number of command-line parameters passed to script&lt;br /&gt;${#@} Number of command-line parameters passed to script&lt;br /&gt;&lt;br /&gt;Now let us see some examples using the positional parameters.&lt;br /&gt;&lt;br /&gt;Check the script below&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;#!/bin/bash&lt;br /&gt;if [[ $# != 11 ]]&lt;br /&gt;then&lt;br /&gt;   echo "Usage `basename $0` arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8 arg9 arg10 arg11"&lt;br /&gt;   exit 1&lt;br /&gt;fi&lt;br /&gt;echo -e "first argument is $1"&lt;br /&gt;echo -e "second argument is $2"&lt;br /&gt;echo -e "Third arguement is $3"&lt;br /&gt;echo -e "Fourth argument is $4"&lt;br /&gt;echo -e "Fifth argument is $5"&lt;br /&gt;echo -e "Sixth argument is $6"&lt;br /&gt;echo -e "Seventh argument is $7"&lt;br /&gt;echo -e "Eighth argument is $8"&lt;br /&gt;echo -e "Nineth argument is $9"&lt;br /&gt;echo -e "Tenth argument is $10"&lt;br /&gt;echo -e "Eleventh argument is $11"&lt;br /&gt;echo -e "The complete list of arguments are $*"&lt;br /&gt;echo -e "The complete list of arguments are $@"&lt;br /&gt;echo -e "The number of command line parameters are ${#*}"&lt;br /&gt;echo -e "The number of command line parameters are ${#@}"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; Executing the above scripts gives the following output.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;[sijo@CyBerJiNX bash]$ ./posparams.sh 1 2 3 4 5 6 7 8 9 10 11&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;first argument is 1&lt;br /&gt;second argument is 2&lt;br /&gt;Third arguement is 3&lt;br /&gt;Fourth argument is 4&lt;br /&gt;Fifth argument is 5&lt;br /&gt;Sixth argument is 6&lt;br /&gt;Seventh argument is 7&lt;br /&gt;Eighth argument is 8&lt;br /&gt;Nineth argument is 9&lt;br /&gt;Tenth argument is 10&lt;br /&gt;Eleventh argument is 11&lt;br /&gt;The complete list of arguments are 1 2 3 4 5 6 7 8 9 10 11&lt;br /&gt;The complete list of arguments are 1 2 3 4 5 6 7 8 9 10 11&lt;br /&gt;The number of command line parameters are 11&lt;br /&gt;The number of command line parameters are 11&lt;br /&gt;[sijo@CyBerJiNX bash]$&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now rerun script as below.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;[sijo@CyBerJiNX bash]$ ./posparams.sh one two three four five six seven eight nine ten eleven&lt;br /&gt;first argument is one&lt;br /&gt;second argument is two&lt;br /&gt;Third arguement is three&lt;br /&gt;Fourth argument is four&lt;br /&gt;Fifth argument is five&lt;br /&gt;Sixth argument is six&lt;br /&gt;Seventh argument is seven&lt;br /&gt;Eighth argument is eight&lt;br /&gt;Nineth argument is nine&lt;br /&gt;Tenth argument is one0&lt;br /&gt;Eleventh argument is one1&lt;br /&gt;The complete list of arguments are one two three four five six seven eight nine ten eleven&lt;br /&gt;The complete list of arguments are one two three four five six seven eight nine ten eleven&lt;br /&gt;The number of command line parameters are 11&lt;br /&gt;The number of command line parameters are 11&lt;br /&gt;[sijo@CyBerJiNX bash]$&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;See the way in which the tenth and eleventh argument is printed. Is this a bug.. No, so what is wrong with the script. Let us recheck the lines which prints tenth and eleventh args.&lt;br /&gt;&lt;br /&gt;echo -e "Tenth argument is $10"&lt;br /&gt;echo -e "Eleventh argument is $11"&lt;br /&gt;&lt;br /&gt;The bash prints them as $1 followed by a 0 and $1 followed by a 1.So how to print the arguments $10 and $11. Rewrite the lines as&lt;br /&gt;&lt;br /&gt;echo -e "Tenth argument is ${10}"&lt;br /&gt;echo -e "Eleventh argument is ${11}"&lt;br /&gt;&lt;br /&gt;  The curly braces {} acts as the delimiter for the variable name to be printed. This is the right way in which any variables in a shell script should be printed.&lt;br /&gt;&lt;br /&gt;Now check the lines&lt;br /&gt;&lt;br /&gt;echo -e "The complete list of arguments are $*"&lt;br /&gt;echo -e "The complete list of arguments are $@"&lt;br /&gt;&lt;br /&gt;  Are these lines one and the same?... No, they are not&lt;br /&gt;&lt;br /&gt;The first line $* will store the entire command line parameters as a single string where as the second one $@ stores the elements in an array.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}}}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-7628162670733289711?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/svbTHeIgaPjQ93vPqQ2FoqcYOyk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/svbTHeIgaPjQ93vPqQ2FoqcYOyk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/svbTHeIgaPjQ93vPqQ2FoqcYOyk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/svbTHeIgaPjQ93vPqQ2FoqcYOyk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/MpIYSTGx2eI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/7628162670733289711/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=7628162670733289711" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/7628162670733289711?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/7628162670733289711?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/MpIYSTGx2eI/positional-paramters-at-bash.html" title="Positional Paramters at bash" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2009/01/positional-paramters-at-bash.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUBRHg9fyp7ImA9WxRSEE4.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-2445949307758855154</id><published>2008-09-10T00:30:00.000-07:00</published><updated>2008-09-10T00:37:35.667-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-10T00:37:35.667-07:00</app:edited><title>Compress and uncompress the files in Linux with tar</title><content type="html">To compress folder myfolder to myfolder.tar.gz&lt;br /&gt;&lt;br /&gt;tar czfv myfolder.tar.gz myfolder/&lt;br /&gt;czfv = "compress gzip file archive with verbose output"&lt;br /&gt;&lt;br /&gt;If you want bzip files, use ‘j’ instead of ‘z’.&lt;br /&gt;&lt;br /&gt;tar cjfv myfolder.tar.gz myfolder&lt;br /&gt;cjfv = "compress bzip file archive with verbose output"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Uncompress myfolder.tar.gz to folder myfolder/&lt;br /&gt;&lt;br /&gt;tar -xzf Test.tar.gz&lt;br /&gt;xzf = ‘extract gzipped file archive’&lt;br /&gt;&lt;br /&gt;Again, if you want bzip files, use ‘j’ instead of ‘z’.&lt;br /&gt;&lt;br /&gt;tar -xzf Test.tar.gz&lt;br /&gt;xjf = ‘extract bzipped file archive’&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-2445949307758855154?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/QNTeW9LBcD0eViodJQSafzKrjqA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QNTeW9LBcD0eViodJQSafzKrjqA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/QNTeW9LBcD0eViodJQSafzKrjqA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QNTeW9LBcD0eViodJQSafzKrjqA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/I_2zbdqyqxY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/2445949307758855154/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=2445949307758855154" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/2445949307758855154?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/2445949307758855154?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/I_2zbdqyqxY/compress-and-uncompress-files-in-linux.html" title="Compress and uncompress the files in Linux with tar" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2008/09/compress-and-uncompress-files-in-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0AESXc_eip7ImA9WxdaEU4.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-7642660761144198595</id><published>2008-08-19T00:27:00.000-07:00</published><updated>2008-08-19T00:41:48.942-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-19T00:41:48.942-07:00</app:edited><title>Setting the inital file permissions using umask</title><content type="html">umask command is used to set the default permission modes for newly created files in the current shell and its child processes.&lt;br /&gt;&lt;br /&gt; umasks are calculated as the AND of the unary complement of the argument (NOT) and the full access mode.&lt;br /&gt;&lt;br /&gt;The full access mode is 666 in the case of files, and 777 in the case of directories&lt;br /&gt;&lt;br /&gt;A common umask value is 022 (masking out the write permission for the group and others), which ensures that new files are only writable for the owner (i.e. the user who created them). Another common value is 002, which leaves the write permission for the file's group enabled. This can be used for files in shared workspaces, where several users work with the same files.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Example usage of setting &lt;span style="font-style:italic;"&gt;umask&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Assuming the umask has the value 163, any new file will be created with the permissions 604 and any new directory will have permissions 614 because:&lt;br /&gt;&lt;br /&gt;666 AND NOT(174) = 604&lt;br /&gt;666=110 110 110&lt;br /&gt;163 = 001 110 011&lt;br /&gt;NOT(001 110 011) = (110 001 100)&lt;br /&gt;(110 110 110) AND (110 001 100) = (110 000 100)&lt;br /&gt;     777           NOT (163)    =  604 &lt;br /&gt;while&lt;br /&gt;&lt;br /&gt;777 AND NOT(163) = 614&lt;br /&gt;&lt;br /&gt;777 = 111 111 111&lt;br /&gt;163 = 001 110 011&lt;br /&gt;NOT(001 110 011) = (110 001 100)&lt;br /&gt;(111 111 111) AND (110 001 100) = (110 001 100)&lt;br /&gt;     777           NOT (163)    =  614&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-7642660761144198595?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Yq6mcnmQr6me1FK4gGni_i9HPKk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Yq6mcnmQr6me1FK4gGni_i9HPKk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Yq6mcnmQr6me1FK4gGni_i9HPKk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Yq6mcnmQr6me1FK4gGni_i9HPKk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/whufQcWA7Mc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/7642660761144198595/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=7642660761144198595" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/7642660761144198595?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/7642660761144198595?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/whufQcWA7Mc/setting-inital-file-permissions-using.html" title="Setting the inital file permissions using umask" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2008/08/setting-inital-file-permissions-using.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cDR347eSp7ImA9WxdbFEs.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-282297030908135737</id><published>2008-08-11T05:30:00.000-07:00</published><updated>2008-08-11T06:24:36.001-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-11T06:24:36.001-07:00</app:edited><title>Attaching serial console on a Linux box</title><content type="html">&lt;span style="font-weight:bold;"&gt;Step # 1: Setup Serial redirection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;By default, grub output does not appear on the remote console; it only appears on the local terminal. However, you can configure your grub.conf file to redirect all grub output to the remote console. Redirection will display the grub output on the remote console, but not on the local terminal. To redirect grub output, make the following changes to your /etc/grub.conf file: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# vi /boot/grub/grub.conf&lt;br /&gt;Append the following lines in the file&lt;br /&gt;&lt;br /&gt;serial --unit=1 --speed=19200 --word=8 --parity=no --stop=1&lt;br /&gt;terminal --timeout=8 console serial&lt;br /&gt;&lt;br /&gt;    * The first line tells GRUB to use the first serial port at a baud rate of 19200&lt;br /&gt;    * The second line gives the user 9 seconds to decide where GRUB should output it's information.&lt;br /&gt;    * Please adjust port number and speed as per your setup.&lt;br /&gt;&lt;br /&gt;Next make sure splashimage options is disabled as graphics can't be displayed across the serial port. Remove splashimage line or just comment it out by prefixing # symbol:&lt;br /&gt;#splashimage=(hd0,0)/grub/splash.xpm.gz&lt;br /&gt;&lt;br /&gt;  Also please comment out the hiddenmenu option ( We had some issues at times when tried using this, so to be on safer side,disable it )&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Step # 2: Enabling serial output from the Linux kernel&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Find the kernel line (grub config file) which corresponds to your currently running kernel. Add the following at the end of that line - console=tty0 console=ttyS0,9600n8:&lt;br /&gt;&lt;br /&gt;title Red Hat Enterprise Linux ES (2.6.9-42.0.10.ELsmp)&lt;br /&gt;        root (hd0,0)&lt;br /&gt;        kernel /vmlinuz-2.6.9-42.0.10.ELsmp ro root=LABEL=/ console=tty0 console=ttyS1,19200n8&lt;br /&gt;        initrd /initrd-2.6.9-42.0.10.ELsmp.img&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On Red Hat EL nodes, please make the following changes&lt;br /&gt;&lt;br /&gt;    * Set SAFE=YES in /etc/sysconfig/kudzu&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-282297030908135737?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Tt6tzzXFrbbe15IbYIUubSiLC9k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Tt6tzzXFrbbe15IbYIUubSiLC9k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Tt6tzzXFrbbe15IbYIUubSiLC9k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Tt6tzzXFrbbe15IbYIUubSiLC9k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/3V4LhWhFmVI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/282297030908135737/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=282297030908135737" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/282297030908135737?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/282297030908135737?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/3V4LhWhFmVI/attaching-serial-console-on-linux.html" title="Attaching serial console on a Linux box" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2008/08/attaching-serial-console-on-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4MQXYzfCp7ImA9WxdbFEg.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-1296710564796686557</id><published>2008-08-11T05:09:00.000-07:00</published><updated>2008-08-11T05:16:20.884-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-11T05:16:20.884-07:00</app:edited><title>Remote installation of OpenSuse-11 on an IBM PPC</title><content type="html">1. Setup the DHCP/BOOTP/PXE/TFTP server to boot from network&lt;br /&gt;3. Boot from network&lt;br /&gt;4. The yaboot prompt will appear. Please enter&lt;br /&gt;install vnc=1 ssh=1&lt;br /&gt;to start the installation on vnc and to enable ssh connections.&lt;br /&gt;5. You'll be asked to enter the vnc and ssh password. Please enter a password of your choice here.&lt;br /&gt;Enter your VNC password&gt;&lt;br /&gt;Enter your temporary SSH password&gt;&lt;br /&gt;6. You'll be asked to choose the network interface you want to use. &lt;br /&gt;Choose the network device.&lt;br /&gt;&lt;span style="font-style:italic;"&gt;1) eth1 : Broadcom NetXtreme BCM5704S Gigabit Ethern&lt;br /&gt;2) eth0 : Broadcom NetXtreme BCM5704S Gigabit Ethern&lt;br /&gt;Automatic configuration via DHCP?&lt;br /&gt;1) Yes&lt;br /&gt;2) No&lt;/span&gt;&lt;br /&gt;7 Opensuse now starts the installer, Connect to the VNC server with a viewer of your choice&lt;br /&gt;&lt;span style="font-style:italic;"&gt;vncviewer &lt;IP&gt;:1&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-1296710564796686557?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xBOGw-tUCoxPYdDo0QoZdJLMPns/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xBOGw-tUCoxPYdDo0QoZdJLMPns/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xBOGw-tUCoxPYdDo0QoZdJLMPns/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xBOGw-tUCoxPYdDo0QoZdJLMPns/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/TJhfZY3KFrc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/1296710564796686557/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=1296710564796686557" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/1296710564796686557?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/1296710564796686557?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/TJhfZY3KFrc/remote-installation-of-opensuse-11-on.html" title="Remote installation of OpenSuse-11 on an IBM PPC" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2008/08/remote-installation-of-opensuse-11-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYFRXs7eSp7ImA9WxdVFEg.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-6115296293309432975</id><published>2008-07-19T01:58:00.000-07:00</published><updated>2008-07-19T02:01:54.501-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-19T02:01:54.501-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="special characters at bash prompt" /><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="scripting" /><title>Special character ; at bashprompt</title><content type="html">&lt;span style="font-style: italic;font-family:times new roman;" &gt; &lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;; is used as a command separator and to terminate a case statement at bash&lt;/span&gt;&lt;span style="font-style: italic;font-family:times new roman;" &gt;&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-family:times new roman;" &gt;# This script is  to explain the usage of the ; as a special character in bash.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-family:times new roman;" &gt;# Sijo George &lt;/span&gt;&lt;sijo.george@in.ibm.com style="font-style: italic; font-family: times new roman;"&gt;&lt;br /&gt;#--------------------------START-------------------------------&lt;br /&gt;echo "Hello world,"; echo "How are you?"; # Execute two commands in a line using a ; delimiter&lt;br /&gt;case $1 in&lt;br /&gt;[a-z] ) echo " The input is an alphabet " ;; # Terminator in the case option&lt;br /&gt;[0-9] ) echo " The input is a number" ;;&lt;br /&gt;*    ) echo " The input is neither an alpabet or a number ";;&lt;br /&gt;esac&lt;/sijo.george@in.ibm.com&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-6115296293309432975?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/j4cEH2dykslSbmaVylUcyG5AP4A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/j4cEH2dykslSbmaVylUcyG5AP4A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/j4cEH2dykslSbmaVylUcyG5AP4A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/j4cEH2dykslSbmaVylUcyG5AP4A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/cZ1WN9RtBG4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/6115296293309432975/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=6115296293309432975" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/6115296293309432975?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/6115296293309432975?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/cZ1WN9RtBG4/special-charator-at-bashprompt.html" title="Special character ; at bashprompt" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2008/07/special-charator-at-bashprompt.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8GRHo5cSp7ImA9WxdVEkU.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-4153420714771585414</id><published>2008-07-17T02:40:00.001-07:00</published><updated>2008-07-17T02:43:45.429-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-17T02:43:45.429-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="special characters at bash" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="scripting" /><title>Usage of Special character '#' at bash</title><content type="html">&lt;span style="font-family: times new roman;font-size:100%;" &gt;&lt;span style="font-family: arial;"&gt;Read through the script below. This better explains the usage&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic; font-family: times new roman;font-size:100%;" &gt;&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;# This script is to explain the special char #&lt;br /&gt;# Sijo George sijo.george@gmail.com&lt;br /&gt;#------------------START------------------------#&lt;br /&gt;#This is a comment&lt;br /&gt;echo "This is #not a comment"&lt;br /&gt;echo 'This also # is not a comment'&lt;br /&gt;echo  But ...This is a #comment&lt;br /&gt;echo  However This \# is not a comment&lt;br /&gt;echo "Parameter sub is not a comment"&lt;br /&gt;echo ${PATH}&lt;br /&gt;echo ${PATH#*:};# Cuts of the shortest string of pattern after the # from the front&lt;br /&gt;echo ${PATH##*:};# Cuts of the longest string of pattern after the # from the front&lt;br /&gt;echo "Base conversion is not a comment "&lt;br /&gt;echo $((2#1010)) # Convers binary 1010 to decimal&lt;br /&gt;echo $((16#ABCD)) # Converts hex ABCD to decimal&lt;br /&gt;string="this is a string"&lt;br /&gt;echo ${#string} # Gives the number of characters in the string&lt;br /&gt;array=(1 test a 10)&lt;br /&gt;echo ${#array} # Gives the length of first element of the array&lt;br /&gt;echo ${#array[*]} # Gives the number of elements in the array&lt;br /&gt;echo ${#array[@]} # Gives the number of elements in the array&lt;br /&gt;echo ${#} # Gives the number of command line parameters.&lt;br /&gt;echo ${#*} #Gives the number of command line parameters.&lt;br /&gt;echo ${#@} #Gives the number of command line parameters.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-4153420714771585414?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZQIUqgn4LNaxJMhzQzz5bk1Xri0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZQIUqgn4LNaxJMhzQzz5bk1Xri0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZQIUqgn4LNaxJMhzQzz5bk1Xri0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZQIUqgn4LNaxJMhzQzz5bk1Xri0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/OyaLX2TLbKM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/4153420714771585414/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=4153420714771585414" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/4153420714771585414?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/4153420714771585414?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/OyaLX2TLbKM/usage-of-special-character-at-bash.html" title="Usage of Special character '#' at bash" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2008/07/usage-of-special-character-at-bash.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEFSH8_eyp7ImA9WxdVFk4.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-6014927596056032286</id><published>2008-02-21T02:48:00.000-08:00</published><updated>2008-07-21T03:03:39.143-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-21T03:03:39.143-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><title>Keyboard shortcuts at bash prompt</title><content type="html">Alt + &lt; - Move to the first line in the history&lt;br /&gt;Alt + &gt; - Move to the last line in the history&lt;br /&gt;Alt + ? - Show current completion list&lt;br /&gt;Alt + * - Insert all possible completions&lt;br /&gt;Alt + / - Attempt to complete filename&lt;br /&gt;Alt + . - Yank last argument to previous command&lt;br /&gt;Alt + b - Move backward&lt;br /&gt;Alt + c - Capitalize the word&lt;br /&gt;Alt + d - Delete word&lt;br /&gt;Alt + f - Move forward&lt;br /&gt;Alt + l - Make word lowercase&lt;br /&gt;Alt + n - Search the history forwards non-incremental&lt;br /&gt;Alt + p - Search the history backwards non-incremental&lt;br /&gt;Alt + r - Recall command&lt;br /&gt;Alt + t - Move words around&lt;br /&gt;Alt + u - Make word uppercase&lt;br /&gt;Alt + backspace - Delete backward from cursor&lt;br /&gt;Ctrl + a - Jump to the start of the line&lt;br /&gt;Ctrl + b - Move back a char&lt;br /&gt;Ctrl + c - Terminate the command&lt;br /&gt;Ctrl + d - Delete from under the cursor&lt;br /&gt;Ctrl + e - Jump to the end of the line&lt;br /&gt;Ctrl + f - Move forward a char&lt;br /&gt;Ctrl + k - Delete to EOL&lt;br /&gt;Ctrl + l - Clear the screen&lt;br /&gt;Ctrl + r - Search the history backwards&lt;br /&gt;Ctrl + R - Search the history backwards with multi occurrence&lt;br /&gt;Ctrl + u - Delete backward from cursor&lt;br /&gt;Ctrl + xx - Move between EOL and current cursor position&lt;br /&gt;Ctrl + x @ - Show possible hostname completions&lt;br /&gt;Ctrl + z - Suspend/ Stop the command&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-6014927596056032286?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qCSw7_AfxFwBKyAQfthbR5J62H0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qCSw7_AfxFwBKyAQfthbR5J62H0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qCSw7_AfxFwBKyAQfthbR5J62H0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qCSw7_AfxFwBKyAQfthbR5J62H0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/nbWx5v2CWkE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/6014927596056032286/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=6014927596056032286" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/6014927596056032286?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/6014927596056032286?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/nbWx5v2CWkE/keyboard-shortcuts-at-bash-prompt.html" title="Keyboard shortcuts at bash prompt" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2008/02/keyboard-shortcuts-at-bash-prompt.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0cMR3k_cSp7ImA9WxZQFUU.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-819592468225002500</id><published>2008-02-21T02:04:00.000-08:00</published><updated>2008-02-21T02:18:06.749-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-02-21T02:18:06.749-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><title>Fun with bash - Addition at bash prompt</title><content type="html">Addition at bash prompt can be done in many ways. I have managed to collate some of them in the script below. The script below counts from 1 to 14 in 14 different ways. Its fun isn't it. It shows how powerful and feature-rich this simple scripting language is.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#!/bin/bash&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;n=1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo -n "$n, "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;let "n = $n + 1"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo -n "$n, "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;: $((n = $n + 1))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo -n "$n, "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;(( n = n + 1 ))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo -n "$n, "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;n=$(($n + 1))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo -n "$n, "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;: $[ n = $n + 1 ]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo -n "$n, "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;n=$[ $n + 1 ]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo -n "$n, "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;let "n++"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo -n "$n, "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;(( n++ ))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo -n "$n, "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;: $(( n++ ))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo -n "$n, "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;: $[ n++ ]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo -n "$n, "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;n=`echo "$n + 1" | bc`&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo -n "$n, "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;n=`echo "$n + 1" | bc -l`&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo -n "$n, "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;n=`expr $n + 1`&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo "$n"&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-819592468225002500?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Tz2cHLVvLRf1Xfsxh_d9sLgaqAg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Tz2cHLVvLRf1Xfsxh_d9sLgaqAg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Tz2cHLVvLRf1Xfsxh_d9sLgaqAg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Tz2cHLVvLRf1Xfsxh_d9sLgaqAg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/vDd57ZP8lZE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/819592468225002500/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=819592468225002500" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/819592468225002500?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/819592468225002500?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/vDd57ZP8lZE/fun-with-bash-addition-at-bash-prompt.html" title="Fun with bash - Addition at bash prompt" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2008/02/fun-with-bash-addition-at-bash-prompt.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMFRX84fSp7ImA9WxZQFUQ.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-6372018828136801738</id><published>2008-02-20T23:13:00.000-08:00</published><updated>2008-02-21T02:40:14.135-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-02-21T02:40:14.135-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="poems" /><category scheme="http://www.blogger.com/atom/ns#" term="Malayalam kavithakal" /><title>Adaruvan Vayya</title><content type="html">I love this poem written by ONV recited by Madhusoodanan Nair, specially the last three lines&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Irulin mahaanidrayil ninnunarthi nee niramulla jeevitha peeli thannu&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ente chirakinaakashavum nee thannu ninn aathma shikirathil oru koodu thannu&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Oru kunju poovilum thalirkaatilum ninne neeyayi manakunnathengu vere...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;jeevanozhukumbol oruthulli ozhiyathe neethanne nirayunna puzhayengu vere...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;kanavinte ithalaayi ninne padarthi nee viriyichoraakashamengu vere...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Oru kochu raapadi karayumbozhum nerthoraruvi than thaarattu thalarumbozhum&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;kaniviloru kallu kanimadhuramavumbozhum kaalamidarumpozhum ninte -&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;hridayathil njanente hridayam koruthirikunnu...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ninill abhayam thiranju pokunnu...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Adaruvan vayya..... nin hridayathil ninnenikethu swargam vilichaalum&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;uruki nin aathmaavin aazhangalil veenu poliyumbozhaanente swargam&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ninnil adiyunnathee nitya sathyam&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;See the &lt;a href="http://youtube.com/watch?v=Eqaks-Vf2i0"&gt;video&lt;/a&gt; of the song from the film Daivathinte Vikrithikal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-6372018828136801738?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4V-ugkI6LsAT8DnV8RQ6m6VTt2k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4V-ugkI6LsAT8DnV8RQ6m6VTt2k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4V-ugkI6LsAT8DnV8RQ6m6VTt2k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4V-ugkI6LsAT8DnV8RQ6m6VTt2k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/h-YETahV1YA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/6372018828136801738/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=6372018828136801738" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/6372018828136801738?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/6372018828136801738?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/h-YETahV1YA/adaruvan-vayya.html" title="Adaruvan Vayya" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2008/02/adaruvan-vayya.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4BQXw5fCp7ImA9WxVSEUg.&quot;"><id>tag:blogger.com,1999:blog-201382772646767655.post-8475770796093088576</id><published>2008-02-20T22:42:00.000-08:00</published><updated>2009-01-05T04:02:30.224-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-05T04:02:30.224-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="personal" /><title>The opening ceremony</title><content type="html">Well.. I'm here ..&lt;br /&gt;Lemme open this with a note to my sweetheart..&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;You're my best friend in the good times&lt;br /&gt;and my rock in times of sorrow.&lt;br /&gt;You're the reason for sweet yesterdays&lt;br /&gt;and my promise for tomorrow.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;My love, The sea nor land, nor death itself can extinguish or lessen toward you, most endearedly visits you with eternal embraces, and will abide with you for ever: and may the God of my life watch over you, and bless you, and do you good in this world, and for ever.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/201382772646767655-8475770796093088576?l=bashmonk.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/v1ihnd7eti4xP2q2AiYnrBz8tsg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v1ihnd7eti4xP2q2AiYnrBz8tsg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/v1ihnd7eti4xP2q2AiYnrBz8tsg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v1ihnd7eti4xP2q2AiYnrBz8tsg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MyFootprints/~4/Vk6aJ_7MgMY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://bashmonk.blogspot.com/feeds/8475770796093088576/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=201382772646767655&amp;postID=8475770796093088576" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/8475770796093088576?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/201382772646767655/posts/default/8475770796093088576?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MyFootprints/~3/Vk6aJ_7MgMY/opening-ceremony.html" title="The opening ceremony" /><author><name>Sijo</name><uri>http://www.blogger.com/profile/09928835430146531313</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://bashmonk.blogspot.com/2008/02/opening-ceremony.html</feedburner:origLink></entry></feed>

