<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Shabir Imam's Blog</title>
	<atom:link href="http://shabirimam.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://shabirimam.wordpress.com</link>
	<description>When you kill a bug, ten more come for the funeral.</description>
	<lastBuildDate>Tue, 26 Jul 2011 11:10:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='shabirimam.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/8028d9ec78f5b0da3b6f7be753ce8c80?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Shabir Imam's Blog</title>
		<link>http://shabirimam.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://shabirimam.wordpress.com/osd.xml" title="Shabir Imam&#039;s Blog" />
	<atom:link rel='hub' href='http://shabirimam.wordpress.com/?pushpress=hub'/>
		<item>
		<title>code coverage for c program on linux</title>
		<link>http://shabirimam.wordpress.com/2011/04/06/code-coverage-for-c-program-on-linux/</link>
		<comments>http://shabirimam.wordpress.com/2011/04/06/code-coverage-for-c-program-on-linux/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 12:55:32 +0000</pubDate>
		<dc:creator>shabir imam</dc:creator>
		
		<guid isPermaLink="false">http://shabirimam.wordpress.com/?p=261</guid>
		<description><![CDATA[The setup used here is FC12 linux machine. Here we will use  &#8220;gcov&#8221; tool for code coverage.  In addition with gcov, we will use &#8220;lcov&#8221; and &#8220;genhtml&#8221; for  output in HTML formatt. To know more about these tools and options you can refer their man pages. 1) First install these packages: gcov, lcov and genhtml. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=261&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The setup used here is FC12 linux machine.</p>
<p>Here we will use  &#8220;gcov&#8221; tool for code coverage.  In addition with gcov, we will use &#8220;lcov&#8221; and &#8220;genhtml&#8221; for  output in HTML formatt. To know more about these tools and options you can refer their man pages.</p>
<p>1) First install these packages: gcov, lcov and genhtml. You can install from sources or yum.</p>
<p>2) To test the code coverage for a c source program, the program must be compiled with  &#8220;-fprofile-arcs&#8221; and -&#8221;ftest-coverage&#8221; flags.</p>
<p><em><strong><span style="color:#ff6600;">$ gcc -fprofile-arcs  -ftest-coverage test.c &#8211; o test</span></strong></em></p>
<p>3) Then run the program.</p>
<p><strong><span style="color:#ff6600;"><em> $  ./test </em></span></strong></p>
<p>It will create 2  additional file with extensions gcno and gcda. In this example it should be test.c.gcno and test.gcda</p>
<p>4) Then use lcov tool to generate html output file.</p>
<p><em><strong><span style="color:#ff6600;">$ lcov &#8211;directory . -c -o test.info</span></strong></em> . Here test.info is output file.</p>
<p>5) Using genhtml, generate hrtml file from lcov data</p>
<p><em><strong><span style="color:#ff6600;">$ genhtml test.info</span></strong></em></p>
<p>It will generate few html files. You can view the html files using broweser or htmlview command</p>
<p>$<em><strong><span style="color:#ff6600;"> htmlview index.html</span></strong></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shabirimam.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shabirimam.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shabirimam.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shabirimam.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shabirimam.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shabirimam.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shabirimam.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shabirimam.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shabirimam.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shabirimam.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shabirimam.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shabirimam.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shabirimam.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shabirimam.wordpress.com/261/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=261&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shabirimam.wordpress.com/2011/04/06/code-coverage-for-c-program-on-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://0.gravatar.com/avatar/eebe147d70248c6000e33c9267f86b17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shabirimam</media:title>
		</media:content>
	</item>
		<item>
		<title>How to run remote X application on Linux</title>
		<link>http://shabirimam.wordpress.com/2010/06/16/how-to-run-remote-x-application-on-linux/</link>
		<comments>http://shabirimam.wordpress.com/2010/06/16/how-to-run-remote-x-application-on-linux/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 07:35:14 +0000</pubDate>
		<dc:creator>shabir imam</dc:creator>
		
		<guid isPermaLink="false">http://shabirimam.wordpress.com/?p=249</guid>
		<description><![CDATA[The X Window System (commonly X or X11) is  a application and network protocol which provides a graphical user interface (GUI) for network computers.You&#8217;re using two computers. You&#8217;re using the X window system of the first to type to and look at. You&#8217;re using the second to do some important graphical work. You want the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=249&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The <strong>X Window System</strong> (commonly <strong>X</strong> or <strong>X11</strong>) is  a application and network protocol which provides a graphical user interface (GUI) for network computers.You&#8217;re using two computers.</p>
<p>You&#8217;re using the X window system of the first to type to and look at. You&#8217;re using the second to do some important graphical work. You want the second to show its output on the display of the first. The X window system makes this possible. Here, the first computer is X server and second computer is X client.  X server typically runs on user&#8217;s console</p>
<h2><span style="color:#0000ff;"><strong>Configuring X server and client</strong></span></h2>
<p>The following configuration is working fine for <strong>Fedora Core 8</strong>. Different distributions may have different configurations and settings.</p>
<h3><span style="color:#0000ff;"><span style="text-decoration:underline;"><strong>Configuring X server </strong></span></span></h3>
<p>1) Install X11 package, if its not already installed</p>
<p><em><strong>#rpm -qa |grep X11</strong></em></p>
<p>if not installed, install through yum or sources. Using yum,</p>
<p><strong><em>#yum install xorg-x11*</em></strong></p>
<p><strong> </strong>2) X server should be running on server machine.</p>
<p><em><strong>#ps aux |grep X</strong></em></p>
<p>If it not running, start it manually.</p>
<p><em><strong>#X &amp;</strong></em></p>
<p>3) X server should  listen on port 6000.</p>
<p><em><strong>#netstat -an |grep 6000</strong></em></p>
<p>if its not listening, check whether 6000 port is open or not</p>
<p><strong><em>#nmap -p 6000</em></strong></p>
<p>If not open, open is using command</p>
<p><em><strong># nc -l 6000</strong></em></p>
<p>3) Allow Xclient to access Xserver</p>
<p><em><strong>#xhost + </strong></em></p>
<p>This will allow Xclient from any host to connect to Xserver. You can add paticular IP also, instead of allowing everyone (xhost +192.168.16.1)</p>
<p>4) Add the following line <strong><em>DisallowTCP=false</em></strong> under <strong><em>security</em></strong> field in<em> <strong>/etc/gdm/custom.conf</strong> </em>file. After adding, the part of the file should look like</p>
<p>[security]<br />
DisallowTCP=false</p>
<p>Restat the gdm servic<em>e</em></p>
<p><em><strong>#gdm-restart</strong></em></p>
<h3><span style="color:#0000ff;"><span style="text-decoration:underline;"><strong>Configuring X client</strong></span></span></h3>
<p><span style="color:#0000ff;"><span style="color:#000000;">l</span><span style="color:#000000;">ogon to Xclient through ssh. then set the DISPLAy environment variable</span><span style="text-decoration:underline;"><strong><br />
</strong></span></span></p>
<p><em><strong>#export DISPLAY=&lt;yourXserverIP&gt;:0.0</strong></em><span style="text-decoration:underline;"><strong> </strong></span></p>
<p>Now, if you run any GUI application, it should display on Xserver machine.</p>
<p>You can try,</p>
<p><span style="text-decoration:underline;"><strong>#xterm&amp; </strong></span></p>
<p>or your any GUI application<span style="text-decoration:underline;"><strong><br />
</strong></span></p>
<p><span style="text-decoration:underline;"><strong><br />
</strong></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shabirimam.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shabirimam.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shabirimam.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shabirimam.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shabirimam.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shabirimam.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shabirimam.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shabirimam.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shabirimam.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shabirimam.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shabirimam.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shabirimam.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shabirimam.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shabirimam.wordpress.com/249/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=249&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shabirimam.wordpress.com/2010/06/16/how-to-run-remote-x-application-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://0.gravatar.com/avatar/eebe147d70248c6000e33c9267f86b17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shabirimam</media:title>
		</media:content>
	</item>
		<item>
		<title>Why One is 1 and Two is 2??&#8230;.</title>
		<link>http://shabirimam.wordpress.com/2010/05/05/why-one-is-1-and-two-is-2/</link>
		<comments>http://shabirimam.wordpress.com/2010/05/05/why-one-is-1-and-two-is-2/#comments</comments>
		<pubDate>Wed, 05 May 2010 05:50:27 +0000</pubDate>
		<dc:creator>shabir imam</dc:creator>
				<category><![CDATA[time pass]]></category>

		<guid isPermaLink="false">http://shabirimam.wordpress.com/?p=221</guid>
		<description><![CDATA[Why One is 1 and Two is 2??&#8230;.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=221&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Why One is 1 and Two is 2??&#8230;.</p>
<p><a href="http://shabirimam.files.wordpress.com/2010/05/pic165852.jpg"><img class="aligncenter size-medium wp-image-230" title="pic16585" src="http://shabirimam.files.wordpress.com/2010/05/pic165852.jpg?w=300&#038;h=217" alt="" width="300" height="217" /></a></p>
<p><a href="http://shabirimam.files.wordpress.com/2010/05/pic033221.jpg"><img class="aligncenter size-medium wp-image-232" title="pic03322" src="http://shabirimam.files.wordpress.com/2010/05/pic033221.jpg?w=300&#038;h=219" alt="" width="300" height="219" /></a></p>
<p><a href="http://shabirimam.files.wordpress.com/2010/05/pic093591.jpg"><img class="aligncenter size-medium wp-image-233" title="pic09359" src="http://shabirimam.files.wordpress.com/2010/05/pic093591.jpg?w=300&#038;h=220" alt="" width="300" height="220" /></a></p>
<p><a href="http://shabirimam.files.wordpress.com/2010/05/pic276773.jpg"><img class="aligncenter size-medium wp-image-234" title="pic27677" src="http://shabirimam.files.wordpress.com/2010/05/pic276773.jpg?w=300&#038;h=220" alt="" width="300" height="220" /></a></p>
<p><a href="http://shabirimam.files.wordpress.com/2010/05/pic03030.jpg"><img class="aligncenter size-medium wp-image-235" title="pic03030" src="http://shabirimam.files.wordpress.com/2010/05/pic03030.jpg?w=300&#038;h=219" alt="" width="300" height="219" /></a></p>
<p><a href="http://shabirimam.files.wordpress.com/2010/05/pic28842.jpg"><img class="aligncenter size-medium wp-image-236" title="pic28842" src="http://shabirimam.files.wordpress.com/2010/05/pic28842.jpg?w=300&#038;h=219" alt="" width="300" height="219" /></a></p>
<p><a href="http://shabirimam.files.wordpress.com/2010/05/pic07047.jpg"><img class="aligncenter size-medium wp-image-237" title="pic07047" src="http://shabirimam.files.wordpress.com/2010/05/pic07047.jpg?w=300&#038;h=220" alt="" width="300" height="220" /></a></p>
<p><a href="http://shabirimam.files.wordpress.com/2010/05/pic09985.jpg"><img class="aligncenter size-medium wp-image-238" title="pic09985" src="http://shabirimam.files.wordpress.com/2010/05/pic09985.jpg?w=300&#038;h=219" alt="" width="300" height="219" /></a></p>
<p><a href="http://shabirimam.files.wordpress.com/2010/05/pic30043.jpg"><img class="aligncenter size-medium wp-image-239" title="pic30043" src="http://shabirimam.files.wordpress.com/2010/05/pic30043.jpg?w=300&#038;h=219" alt="" width="300" height="219" /></a></p>
<p><a href="http://shabirimam.files.wordpress.com/2010/05/pic04405.jpg"><img class="aligncenter size-medium wp-image-240" title="pic04405" src="http://shabirimam.files.wordpress.com/2010/05/pic04405.jpg?w=300&#038;h=219" alt="" width="300" height="219" /></a></p>
<p><a href="http://shabirimam.files.wordpress.com/2010/05/pic06740.jpg"><img class="aligncenter size-medium wp-image-241" title="pic06740" src="http://shabirimam.files.wordpress.com/2010/05/pic06740.jpg?w=300&#038;h=220" alt="" width="300" height="220" /></a></p>
<p><a href="http://shabirimam.files.wordpress.com/2010/05/pic07782.jpg"><img class="aligncenter size-medium wp-image-242" title="pic07782" src="http://shabirimam.files.wordpress.com/2010/05/pic07782.jpg?w=300&#038;h=220" alt="" width="300" height="220" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shabirimam.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shabirimam.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shabirimam.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shabirimam.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shabirimam.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shabirimam.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shabirimam.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shabirimam.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shabirimam.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shabirimam.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shabirimam.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shabirimam.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shabirimam.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shabirimam.wordpress.com/221/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=221&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shabirimam.wordpress.com/2010/05/05/why-one-is-1-and-two-is-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://0.gravatar.com/avatar/eebe147d70248c6000e33c9267f86b17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shabirimam</media:title>
		</media:content>

		<media:content url="http://shabirimam.files.wordpress.com/2010/05/pic165852.jpg?w=300" medium="image">
			<media:title type="html">pic16585</media:title>
		</media:content>

		<media:content url="http://shabirimam.files.wordpress.com/2010/05/pic033221.jpg?w=300" medium="image">
			<media:title type="html">pic03322</media:title>
		</media:content>

		<media:content url="http://shabirimam.files.wordpress.com/2010/05/pic093591.jpg?w=300" medium="image">
			<media:title type="html">pic09359</media:title>
		</media:content>

		<media:content url="http://shabirimam.files.wordpress.com/2010/05/pic276773.jpg?w=300" medium="image">
			<media:title type="html">pic27677</media:title>
		</media:content>

		<media:content url="http://shabirimam.files.wordpress.com/2010/05/pic03030.jpg?w=300" medium="image">
			<media:title type="html">pic03030</media:title>
		</media:content>

		<media:content url="http://shabirimam.files.wordpress.com/2010/05/pic28842.jpg?w=300" medium="image">
			<media:title type="html">pic28842</media:title>
		</media:content>

		<media:content url="http://shabirimam.files.wordpress.com/2010/05/pic07047.jpg?w=300" medium="image">
			<media:title type="html">pic07047</media:title>
		</media:content>

		<media:content url="http://shabirimam.files.wordpress.com/2010/05/pic09985.jpg?w=300" medium="image">
			<media:title type="html">pic09985</media:title>
		</media:content>

		<media:content url="http://shabirimam.files.wordpress.com/2010/05/pic30043.jpg?w=300" medium="image">
			<media:title type="html">pic30043</media:title>
		</media:content>

		<media:content url="http://shabirimam.files.wordpress.com/2010/05/pic04405.jpg?w=300" medium="image">
			<media:title type="html">pic04405</media:title>
		</media:content>

		<media:content url="http://shabirimam.files.wordpress.com/2010/05/pic06740.jpg?w=300" medium="image">
			<media:title type="html">pic06740</media:title>
		</media:content>

		<media:content url="http://shabirimam.files.wordpress.com/2010/05/pic07782.jpg?w=300" medium="image">
			<media:title type="html">pic07782</media:title>
		</media:content>
	</item>
		<item>
		<title>Shayris</title>
		<link>http://shabirimam.wordpress.com/2009/11/30/211/</link>
		<comments>http://shabirimam.wordpress.com/2009/11/30/211/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 17:28:35 +0000</pubDate>
		<dc:creator>shabir imam</dc:creator>
				<category><![CDATA[shayri]]></category>

		<guid isPermaLink="false">http://shabirimam.wordpress.com/?p=211</guid>
		<description><![CDATA[Garmiye hasrate nakaam se jal jate hein, hum Chiragon ki tarha shaam se jal jate hein.. Shama jis aag mai jali hai numayesh ke liye, hum usi aag mai gum naam se jal jate hein.. Jab bhi aata hai tera naam mere naam ke saath, jane kyun log mere naam se jal jate hein&#8230; na [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=211&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#008000;">Garmiye hasrate nakaam se jal jate hein,<br />
hum </span><span style="color:#008000;">Chiragon</span><span style="color:#008000;"> ki tarha shaam se jal jate hein..</span></p>
<p><span style="color:#008000;">Shama jis aag mai jali hai numayesh ke liye,<br />
hum usi aag mai gum naam se jal jate hein..</span></p>
<p><span style="color:#008000;">Jab bhi aata hai tera naam mere naam ke saath,<br />
jane kyun log mere naam se jal jate hein&#8230;</span></p>
<p><span style="color:#ff0000;">na tha kuchch to KHuda tha, kuchch na hota to KHuda hota<br />
duboya mujhko hone ne, na hota maiN to kya hota ?</span></p>
<p><span style="color:#333399;">Unhe Yeh Shikayat Hai Humse Ki,<br />
Hum Har Kissi Ko Dekh Kar muskurate hain,</span></p>
<p><span style="color:#333399;">Nashamjh Hain woh kya jane,<br />
Hame to har Chehre main woh hi nazr ate hain.</span></p>
<p><span style="color:#808000;">Jis shaam mein mere lab per aapka naam na aaye,<br />
Khuda kare ki kabhi aisi shaam na aaye,<br />
Ae jaane wafa yeh kabhi mumkin nahin ki,<br />
Afsaana likhoon aur aapka naam na aaye.</span></p>
<h2>Ahmed Faraz Shayari</h2>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;">Kuch muhabat ka nasha tha pehle hm ko Faraz.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Dil jo tota to nashe se muhabat ho gai.</span></span></span></p>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Yeh wafa to un dinon ki baat hay &#8220;Fraaz&#8221;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Jab makaan kachy or log sachay hoa krty thy&#8230;&#8230;</span></span></span></p>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Kon data ha umar bhar ka sahara aay Faraz&#8230;. </span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> LOG tu JANAZAY man bhi kandhay badaltay rahtay hein&#8230;.</span></span></span></p>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8220;Kis ki Kya majal thi jo koi Hum ko kharid sakta&#8221;,,,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Faraz,..</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8220;Hum to khud hi Bik gaey kharidar dekh k&#8221;&#8230;</span></span></span></p>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8216;&#8221;Ham na badlein gay waqt ki raftaar kay sath,,,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8216;&#8221;Faraz&#8221;&#8216;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Ham jab b milen gay andaz purana hoga&#8230;&#8217;&#8221;.</span></span></span></p>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8220;Tera Na Ho Saka To Mar Jaon Ga Faraz.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Kitna Khobsurat Wo Jhoot Bolta Tha&#8221;.</span></span></span></p>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Wo Bewafa na tha youn hi badnaam ho gya,,,,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Faraz..,&#8230;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Hazaron chaheny waly thy kis kis say wafa karta&#8230;&#8230;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> -</span></span></span></p>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Hum pe faqat ilzaam k hum hain zuban daraz&#8230;&#8230;.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> hum ne to bus kaha tha hamain tum se piyar hai&#8230;.!</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Zindagi to apnay hi Qadmon pe chalti hai Faraz..,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Auron k $aharay to Janazay utha kartay hain..!</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> -</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Yahee soch kar us ki har baat ko sach mana hay</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8220;FARAZ&#8221;~</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> K itnay khubsoorat Lub jhoot kesay bolain gay..~</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> -</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Bari Mushkil se Sulaaya tha Khud Ko FARAZ Main ne Aaj&#8230;!</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Apni Aaankon Ko Tare Khuwaab Ka Laalach Day Ker&#8230;..!</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> -</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Be nàam zىndagى ki haqeeqat na poochhiye &#8216;FARAZ&#8217;,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Kuch pur khaloٍs log thay,barbàd kr gaey&#8230;&#8230;.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> -</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Wo roz dekhta hai dubtay huay suraj ko faraz.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Kash mai b kisi shaam ka manzir hota&#8230;.!</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Main us k Haathon me tha</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Tute hue Sheeshe ki trha &#8220;Faraz&#8221;,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Bari Umeed thi k bikhrne nhi dega.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Bus giraya kuch is Ada se k </span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Simatne ki Aaas hi na rahi.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8211;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Bara naaz tha un ko apne parde pe faraz&#8230;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Kal raat woh khawab me sar-e-aam chale aaye&#8230;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Kabhi Kabhi Wo Mujhe itna Yad Aata He Faraz</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Me Zid Me Aa K Usay Yaad B Nahi Karta</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8211;</span></span></span></p>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Mere kahny sy na paband-e-wafa ho jana,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> dil na many to kse waqt juda ho jana,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> na chaho jan se ziada kise ko</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Faraz,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> tum ny dekha nahen bandon ka khuda ho jana.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8211;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Tum is shehar k khuloos se waqif nahi FARAZ</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Ye to Mohsin ko bhi sar-e-aam saza daitay hain!</span></span></span></p>
<p><span style="color:#008000;"><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
</strong></span></p>
<p><span style="color:#008000;"><strong><span class="ListContent">wo roye ga meri mayyat per mujhse is tarha lipat kar faraaz …! </span></strong></span></p>
<p><span style="color:#008000;"><strong><span class="ListContent">agar yeh pehle pata hota to kab ke mar gaye hote …</span></strong></span></p>
<p><span class="ListContent"><span style="color:#008000;"><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</strong></span></span></p>
<p><span class="ListContent"><span style="color:#008000;"> Na janE KaB Se Ho GayE ItNay ShiDDat PasaNd HaM ?FArAz !</span><br />
<span style="color:#008000;"> JaB Tak ZakhaM Na KhAyEn tAssalEE nAhi hoTi ?</span></span></p>
<p><span class="ListContent" style="color:#008000;">__________<br />
</span><span style="color:#008000;"><span class="ListContent">Us Shaks Ko To Bichadeny Ka Saleka Nahi ” FARAZ”</span><span class="ListContent"><br />
Jatay Hoe Khud KO Mere Pass Chor Gaya .</span><span class="ListContent"><br />
</span></span><span class="ListContent" style="color:#008000;">________<br />
</span><span style="color:#008000;"><span class="ListContent">Apni Nakaami ka EK Yeh Bhi Sabab Hai FaRaZ.</span><span class="ListContent"><br />
</span><span class="ListContent"> Cheez Jo Mangte Hain Sb Se Juda Mangte Hain.</span></span><span class="ListContent" style="color:#008000;"><br />
________<br />
</span><span style="color:#008000;"><span class="ListContent">Ye dunya gum to deti hai shareek-e-gum nahi hoti</span><span class="ListContent"><br />
kisi k door jany se mohabat kam nahi hoti</span></span><span class="ListContent"><br />
</span><span class="ListContent" style="color:#008000;">_____<br />
</span><span style="color:#008000;"><span class="ListContent">Ab maayos q ho us ki bewafai pe Faraz?</span><span class="ListContent"><br />
</span><span class="ListContent"> tm khud hi to kehty thy k wo sab se juda hai</span></span><span class="ListContent" style="color:#008000;"><br />
____<br />
</span><span style="color:#008000;"><span class="ListContent">Asaan nahin aabad karna ghar mohabat ka</span><span class="ListContent"><br />
</span><span class="ListContent"> ye unka kaam hai jo zindagi barbad karty hain</span></span><span class="ListContent" style="color:#008000;"><br />
________<br />
</span><span style="color:#008000;"><span class="ListContent">Usne mujh chor dia to kia hua Faraz</span><span class="ListContent"><br />
Mane bhi to chora tha sara jahan us k liye</span><span class="ListContent"><br />
</span></span><span class="ListContent" style="color:#008000;">________<br />
</span><span style="color:#008000;"><span class="ListContent">Tujhy fursat hi na milli parhny ki faraz</span><span class="ListContent"><br />
</span><span class="ListContent"> hum tery sheher main bikty rahy kitabon ki tarha</span></span><span class="ListContent" style="color:#008000;"><br />
_________<br />
</span><span style="color:#008000;"><span class="ListContent">Ab Nend Se Kaho Hum Se Sulah Kar Le Faraz,</span><span class="ListContent"><br />
</span><span class="ListContent"> Wo Dour Chala Gaya Hai Jis K Lie Hum Jaga Karty Thy.</span></span><span class="ListContent" style="color:#008000;"><br />
______<br />
</span><span style="color:#008000;"><span class="ListContent">In Barishon Se Dosti Achi Nahi FARAZ,</span><span class="ListContent"><br />
</span><span class="ListContent"> Kacha Makan Hai Tera Kuch Yu Khayal kar.</span></span><span class="ListContent" style="color:#008000;"><br />
________<br />
</span><span style="color:#008000;"><span class="ListContent">Bas Yehi Soch Ker Tujhse Mohabbat Kerta Hoon Mein Faraz,</span><span class="ListContent"><br />
Mera To Koi Nahi Hai Magr Tera TU Koi Ho!!</span><span class="ListContent"><br />
</span></span><span class="ListContent" style="color:#008000;">________<br />
</span><span style="color:#008000;"><span class="ListContent">Ungliyan aaj bhi is soch me ghum hai faraz</span><span class="ListContent"><br />
</span><span class="ListContent"> Usnay kaisay naye haath ko thaama hoga</span></span></p>
<p><span class="ListContent" style="color:#008000;">_________</span></p>
<p><span class="ListContent" style="color:#ff6600;"><span style="color:#000000;"><small>BHOOLE HAIN RAFTA RAFTA UNHAIN MUDDATON MAIN HUM.<br />
QISTON MAI KHUDKUSHI KA MAZA HUM SE POOCHIYE</small></span></span></p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:437px;width:1px;height:1px;overflow:hidden;"><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;">Kuch muhabat ka nasha tha pehle hm ko Faraz.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Dil jo tota to nashe se muhabat ho gai.</span></span></span><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Yeh wafa to un dinon ki baat hay &#8220;Fraaz&#8221;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Jab makaan kachy or log sachay hoa krty thy&#8230;&#8230;</span></span></span><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Kon data ha umar bhar ka sahara aay Faraz&#8230;. </span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> LOG tu JANAZAY man bhi kandhay badaltay rahtay hein&#8230;.</span></span></span></p>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8220;Kis ki Kya majal thi jo koi Hum ko kharid sakta&#8221;,,,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Faraz,..</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8220;Hum to khud hi Bik gaey kharidar dekh k&#8221;&#8230;</span></span></span></p>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8216;&#8221;Ham na badlein gay waqt ki raftaar kay sath,,,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8216;&#8221;Faraz&#8221;&#8216;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Ham jab b milen gay andaz purana hoga&#8230;&#8217;&#8221;.</span></span></span></p>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8220;Tera Na Ho Saka To Mar Jaon Ga Faraz.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Kitna Khobsurat Wo Jhoot Bolta Tha&#8221;.</span></span></span></p>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Wo Bewafa na tha youn hi badnaam ho gya,,,,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Faraz..,&#8230;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Hazaron chaheny waly thy kis kis say wafa karta&#8230;&#8230;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> -</span></span></span></p>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Hum pe faqat ilzaam k hum hain zuban daraz&#8230;&#8230;.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> hum ne to bus kaha tha hamain tum se piyar hai&#8230;.!</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Zindagi to apnay hi Qadmon pe chalti hai Faraz..,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Auron k $aharay to Janazay utha kartay hain..!</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> -</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Yahee soch kar us ki har baat ko sach mana hay</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8220;FARAZ&#8221;~</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> K itnay khubsoorat Lub jhoot kesay bolain gay..~</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> -</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Bari Mushkil se Sulaaya tha Khud Ko FARAZ Main ne Aaj&#8230;!</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Apni Aaankon Ko Tare Khuwaab Ka Laalach Day Ker&#8230;..!</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> -</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Be nàam zىndagى ki haqeeqat na poochhiye &#8216;FARAZ&#8217;,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Kuch pur khaloٍs log thay,barbàd kr gaey&#8230;&#8230;.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> -</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Wo roz dekhta hai dubtay huay suraj ko faraz.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Kash mai b kisi shaam ka manzir hota&#8230;.!</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Main us k Haathon me tha</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Tute hue Sheeshe ki trha &#8220;Faraz&#8221;,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Bari Umeed thi k bikhrne nhi dega.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Bus giraya kuch is Ada se k </span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Simatne ki Aaas hi na rahi.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8211;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Bara naaz tha un ko apne parde pe faraz&#8230;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Kal raat woh khawab me sar-e-aam chale aaye&#8230;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Kabhi Kabhi Wo Mujhe itna Yad Aata He Faraz</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Me Zid Me Aa K Usay Yaad B Nahi Karta</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8211;</span></span></span></p>
<p><span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Mere kahny sy na paband-e-wafa ho jana,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> dil na many to kse waqt juda ho jana,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> na chaho jan se ziada kise ko</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Faraz,</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> tum ny dekha nahen bandon ka khuda ho jana.</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8211;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Tum is shehar k khuloos se waqif nahi FARAZ</span></span></span><br />
<span style="font-family:Comic Sans MS;"><span style="font-size:medium;"><span style="color:green;"> Ye to Mohsin ko bhi sar-e-aam saza daitay hain!</span></span></span></p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shabirimam.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shabirimam.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shabirimam.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shabirimam.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shabirimam.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shabirimam.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shabirimam.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shabirimam.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shabirimam.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shabirimam.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shabirimam.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shabirimam.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shabirimam.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shabirimam.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=211&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shabirimam.wordpress.com/2009/11/30/211/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://0.gravatar.com/avatar/eebe147d70248c6000e33c9267f86b17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shabirimam</media:title>
		</media:content>
	</item>
		<item>
		<title>Light Weight Web Servers (Light weight alternatives to apache)</title>
		<link>http://shabirimam.wordpress.com/2009/11/25/light-weight-web-servers-light-weight-alternatives-to-apache/</link>
		<comments>http://shabirimam.wordpress.com/2009/11/25/light-weight-web-servers-light-weight-alternatives-to-apache/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 09:58:26 +0000</pubDate>
		<dc:creator>shabir imam</dc:creator>
				<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://shabirimam.wordpress.com/?p=195</guid>
		<description><![CDATA[Lightweight web servers are Web servers which have been designed to run with very small resource overhead because of hardware, environment, or simply for the challenge of it. Based on my research, following are the list of few web serves, which looks nice to me, based on few parameters like performance, resource utilization, size, active [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=195&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Lightweight web servers</strong> are Web servers which have been designed to run with very small resource overhead because of hardware, environment, or simply for the challenge of it.<br />
Based on my research, following are the list of few web serves, which looks nice to me, based on few parameters like performance, resource utilization, size, active development, security etc.. Also, most of them are free and open source.<br />
Lighttpd:-  <a href="http://www.lighttpd.net/">www.lighttpd.net</a><br />
Nignix:- <a href="http://nginx.net/">www.nginx.net</a><br />
Cherokee:-<a href="http://www.cherokee-project.com/">www.cherokee-project.com</a><br />
Thttpd:- <a href="www.acme.com/software/thttpd/">www.acme.com/software/thttpd</a><br />
Mathpod <a href="www.acme.com/software/thttpd/">www.acme.com/software/thttpd</a><br />
Jetty:- <a href="http://http://www.mortbay.org/jetty/">www.mortbay.org/jetty</a><br />
Yaws:-  <a href="http://yaws.hyber.org/">http://yaws.hyber.org</a><br />
mini_httpd:- <a href="http://www.acme.com/software/mini_httpd/">www.acme.com/software/mini_httpd</a></p>
<p>But the above list is very small and you can find lot of others light web servers which suits your requirement.</p>
<p>Out of the above list, <strong>Lighttpd</strong> and<strong> Ngnix</strong> are the two most popular free, open source light weight web servers.<br />
Comparison between these two servers:<br />
<a href="http://hostingfu.com/article/nginx-vs-lighttpd-for-a-small-vps">http://hostingfu.com/article/nginx-vs-lighttpd-for-a-small-vps</a><br />
<a href="http://superjared.com/entry/benching-lighttpd-vs-nginx-static-files/">http://superjared.com/entry/benching-lighttpd-vs-nginx-static-files/</a><br />
<a href="http://www.wikivs.com/wiki/Lighttpd_vs_nginx">http://www.wikivs.com/wiki/Lighttpd_vs_nginx</a></p>
<p> <strong>Comparison of different light weight web servers:</strong><br />
<a href="http://en.wikipedia.org/wiki/Comparison_of_web_servers">http://en.wikipedia.org/wiki/Comparison_of_web_servers</a><br />
<a href="http://en.wikipedia.org/wiki/Comparison_of_lightweight_web_servers">http://en.wikipedia.org/wiki/Comparison_of_lightweight_web_servers</a></p>
<p><strong>List of web servers:</strong><br />
<a href="http://www.debianhelp.co.uk/apachealternatives.htm">http://www.debianhelp.co.uk/apachealternatives.htm</a><br />
<a href="http://www.linuxlinks.com/Software/Internet/WebServers/Mini_Servers">http://www.linuxlinks.com/Software/Internet/WebServers/Mini_Servers</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shabirimam.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shabirimam.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shabirimam.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shabirimam.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shabirimam.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shabirimam.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shabirimam.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shabirimam.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shabirimam.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shabirimam.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shabirimam.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shabirimam.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shabirimam.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shabirimam.wordpress.com/195/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=195&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shabirimam.wordpress.com/2009/11/25/light-weight-web-servers-light-weight-alternatives-to-apache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://0.gravatar.com/avatar/eebe147d70248c6000e33c9267f86b17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shabirimam</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding script to run at startup or shutdown in Linux</title>
		<link>http://shabirimam.wordpress.com/2009/03/10/adding-script-to-run-at-startup-or-shutdown/</link>
		<comments>http://shabirimam.wordpress.com/2009/03/10/adding-script-to-run-at-startup-or-shutdown/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 10:15:40 +0000</pubDate>
		<dc:creator>shabir imam</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://shabirimam.wordpress.com/?p=106</guid>
		<description><![CDATA[1. Write a script and put it into /etc/init.d/ directory. Your script must have start or stop options or both, depends on when you want to run your script. start is called at reboot or system startup and stop is called at shutdown. 2.  Add the executable permission to your script. Let say your script [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=106&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. Write a script and put it into /etc/init.d/  directory. Your script must have start or stop options or both, depends on when you want to run your script. start is called at reboot or system startup and stop is called at shutdown.<br />
2.  Add the executable permission to your script. Let say your script name is test<br />
# chmod +x test</p>
<p>3. Create symbolic link in /etc/rc#.d where # is runlevel number. To know more about run level check /etc/initab or check init man page (type man init).<br />
For example if you want to run your script at system startup,  create a symbolic link in /etc/rc3.d:</p>
<ul># cd /etc/rc3.d/<br />
# ln -s ../init.d/scriptname S##scriptname where ## is order of executing script or you can say starting number. Use some 50 or 60. You should choose this number according to the needs of your application: if you try to make the application start too early, all disks may not be mounted yet, network adapters might not be initialized or some system services might not be started yet.<br />
the rc script will start all scripts with a capital S in numerical order.<br />
The shutdown portion is similar. Go to the run level that you want to shutdown at:<br />
- cd /etc/rc0.d/<br />
- ln -s ../init.d/scriptname K##scriptname where where ## is order of executing script or you can say starting number. Use some 50 or 60.<br />
the rc script will shutdown all scripts with a capital K in numerical order.<br />
<strong>sample script</strong></p>
<blockquote><p>#!/bin/sh<br />
# Copy at startup and remove at shutdown<br />
#<br />
start() {<br />
        cp /etc/test /var/tmp/<br />
}<br />
stop() {<br />
                rm -rf /var/tmp/*<br />
}<br />
case &#8220;$1&#8243; in<br />
    start)<br />
        start<br />
        ;;<br />
    stop)<br />
        stop<br />
        ;;</p>
<p>    *)<br />
        echo $&#8221;Usage: $0 {start|stop}&#8221;<br />
        RETVAL=1<br />
esac<br />
exit 0<br />
4) Your process is done. Now you can test your script.
</p></blockquote>
<p><strong>Few commands for runlevel and init</strong><br />
1) To switch to particular run level use init<br />
$ telinit 6</p>
<p> 2) <strong>chkconfig</strong> is a tool that helps in creating/deleting/changing the symbolic links. It requires that you put two specially-formed comment lines in your application startup/shutdown script:<br />
    #chkconfig &#8211;list   to check the current startup settings<br />
# chkconfig: 345 80 20<br />
The numbers on the chkconfig line:<br />
- The first number (345) is a list of runlevels you&#8217;ll want your application. So it will run at runlevel 3, and 5.<br />
- 80 is the &#8220;starting position&#8221; number, meaning that this application will be started rather late in the boot process.<br />
- 20 is the &#8220;shutdown order&#8221; number. Unless your application has special requirements, it is recommended that the sum of startup and shutdown order numbers for each application should be 100.</p>
<p>When you have added the two &#8220;magic&#8221; comment lines to your startup/shutdown script, just place the script to /etc/init.d and run:<br />
chkconfig &#8211;add<br />
If you need to temporarily block the system from starting/stopping the application automatically, you can use:<br />
chkconfig off<br />
To restore the auto-start function, use:<br />
chkconfig on</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shabirimam.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shabirimam.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shabirimam.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shabirimam.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shabirimam.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shabirimam.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shabirimam.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shabirimam.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shabirimam.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shabirimam.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shabirimam.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shabirimam.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shabirimam.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shabirimam.wordpress.com/106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=106&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shabirimam.wordpress.com/2009/03/10/adding-script-to-run-at-startup-or-shutdown/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://0.gravatar.com/avatar/eebe147d70248c6000e33c9267f86b17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shabirimam</media:title>
		</media:content>
	</item>
		<item>
		<title>Install packages on Linux&#8230;</title>
		<link>http://shabirimam.wordpress.com/2009/03/10/install-packages-in-linux/</link>
		<comments>http://shabirimam.wordpress.com/2009/03/10/install-packages-in-linux/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 06:42:37 +0000</pubDate>
		<dc:creator>shabir imam</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://shabirimam.wordpress.com/?p=161</guid>
		<description><![CDATA[Make and install program from source (tar.gz) Put the packed file (tar.gz)  in the directory you want it to be installed under. Open the compressed tar ball   &#8220;tar zxvf &#60;packagename&#62;.tar.gz&#8221; .  It will create a directory like &#8220;packagename-2.3.4&#8243; and place the extracted information here. Go into the created subdirectory and type &#8220;./configure&#8221;. Type &#8220;make [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=161&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color:#008000;">Make and install program from source (tar.gz)</span></strong></p>
<ol>
<li>Put the packed file (tar.gz)  in the directory you want it to be installed under.</li>
<li>Open the compressed tar ball   &#8220;tar zxvf &lt;packagename&gt;.tar.gz&#8221; .  It will create a directory like &#8220;packagename-2.3.4&#8243; and place the extracted information here.</li>
<li>Go into the created subdirectory and type &#8220;./configure&#8221;.</li>
<li>Type &#8220;make all&#8221;</li>
<li>Type &#8220;make install&#8221;</li>
</ol>
<p><strong><span style="color:#008000;">RPM (Red Hat Package Manger)</span> </strong> &#8211; Most common method of distribution of software for Linux. rpm command provides for installation, removal, upgrade, verification and other management of RPM packages.</p>
<p>1) Install new package &#8211; use rpm -i or rpm ihv for verbose information<br />
#rpm -ihv gcc-2.96-113.i386.rpm</p>
<p>2) To upgrade a existing package to newer version -<br />
#rpm -U binutils-2.11.93.0.2-11.i386.rpm</p>
<p>3) To remove a package<br />
#rpm -e binutils-2.11.93.0.2-11.i386.rpm</p>
<p>Frequently used option in uninstall<br />
&#8211;nodeps &#8211; skips dependency checking<br />
&#8211;test &#8211; Run through all the motion except for actually installing things. Useful to verify that a package can be uninstalled correctly.</p>
<p>4) Query about package (-q)<br />
-a display a list of all the packages installed on the system  &#8211;   rpm -qa<br />
-f filename &#8211; display a package that contain file name<br />
-R list packages on which this package depends</p>
<p>To know about any installed package<br />
#rpm -ql &lt;package_name&gt; or rpm -qa|grep &lt;package_name&gt;<br />
To list the files contained in the package<br />
#rpm -qlp binutil.i386.rpm</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shabirimam.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shabirimam.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shabirimam.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shabirimam.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shabirimam.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shabirimam.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shabirimam.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shabirimam.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shabirimam.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shabirimam.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shabirimam.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shabirimam.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shabirimam.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shabirimam.wordpress.com/161/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=161&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shabirimam.wordpress.com/2009/03/10/install-packages-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eebe147d70248c6000e33c9267f86b17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shabirimam</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting Environment variable in Linux</title>
		<link>http://shabirimam.wordpress.com/2009/03/05/setting-environment-variable-in-linux/</link>
		<comments>http://shabirimam.wordpress.com/2009/03/05/setting-environment-variable-in-linux/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 05:40:06 +0000</pubDate>
		<dc:creator>shabir imam</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://shabirimam.wordpress.com/?p=150</guid>
		<description><![CDATA[The following setting is for FC8 Linux. The file name or path may change for different flavor of Linux For system wide effect , edit /etc/bashrc file and for particular user edit file home/&#60;username&#62;/.bash_profile and add your environment variable. For example, adding JAVA_HOME variable #export JAVA_HOME=/usr/bin Then save the file and run it using source [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=150&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following setting is for FC8 Linux. The file name or path may change for different flavor of Linux<br />
For system wide effect , edit /etc/bashrc file and for particular user edit file home/&lt;username&gt;/.bash_profile and add your environment variable. For example, adding JAVA_HOME variable<br />
<strong>#export JAVA_HOME=/usr/bin</strong><br />
Then save the file and run it using source command.<br />
<strong>#source /etc/bashrc or source /home//.bash_profile</strong><br />
You can test it by<br />
echo $&lt;your_variable_name&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shabirimam.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shabirimam.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shabirimam.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shabirimam.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shabirimam.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shabirimam.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shabirimam.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shabirimam.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shabirimam.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shabirimam.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shabirimam.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shabirimam.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shabirimam.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shabirimam.wordpress.com/150/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=150&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shabirimam.wordpress.com/2009/03/05/setting-environment-variable-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eebe147d70248c6000e33c9267f86b17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shabirimam</media:title>
		</media:content>
	</item>
		<item>
		<title>Install Internet Explorer 6 on Linux</title>
		<link>http://shabirimam.wordpress.com/2009/02/18/install-internet-explorer-6-on-linux/</link>
		<comments>http://shabirimam.wordpress.com/2009/02/18/install-internet-explorer-6-on-linux/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 12:49:26 +0000</pubDate>
		<dc:creator>shabir imam</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://shabirimam.wordpress.com/?p=145</guid>
		<description><![CDATA[Open a terminal. Log in as root to install wine and cabextract: yum -y install wine* yum -y install cabextract Logout and install IEs 4 Linux with your normal user account: wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz tar zxvf ies4linux-latest.tar.gz cd ies4linux-* ./ies4linux<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=145&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Open a terminal. Log in as root to install wine and cabextract:</p>
<blockquote><p>yum -y install wine*<br />
yum -y install cabextract</p>
</blockquote>
<p>Logout and install IEs 4 Linux with your normal user account:</p>
<blockquote><p>wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz<br />
tar zxvf ies4linux-latest.tar.gz<br />
cd ies4linux-*<br />
./ies4linux</p>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shabirimam.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shabirimam.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shabirimam.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shabirimam.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shabirimam.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shabirimam.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shabirimam.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shabirimam.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shabirimam.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shabirimam.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shabirimam.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shabirimam.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shabirimam.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shabirimam.wordpress.com/145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=145&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shabirimam.wordpress.com/2009/02/18/install-internet-explorer-6-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eebe147d70248c6000e33c9267f86b17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shabirimam</media:title>
		</media:content>
	</item>
		<item>
		<title>GNU screen tutorial</title>
		<link>http://shabirimam.wordpress.com/2009/02/12/gnu-screen-tutorial/</link>
		<comments>http://shabirimam.wordpress.com/2009/02/12/gnu-screen-tutorial/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 21:05:29 +0000</pubDate>
		<dc:creator>shabir imam</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://shabirimam.wordpress.com/?p=128</guid>
		<description><![CDATA[Screen is best described as a terminal multiplexer utility. It allows you to have multiple virtual terminal instances over a single terminal connection. Creating a new session To start screen type screen on command prompt. $ screen or you can give screen name also $screen -S &#60;screen name&#62; Creating a new window Type Ctrl+a c. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=128&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#008000;"><strong>Screen</strong></span> is best described as a terminal multiplexer utility. It allows you to have multiple virtual terminal instances over a single terminal connection.<br />
<span style="color:#008000;"><strong>Creating a new session</strong></span><br />
To start screen type screen on command prompt.<br />
$ screen<br />
or you can give screen name also<br />
$screen -S &lt;screen name&gt;<br />
<span style="color:#008000;"><strong>Creating a new window</strong></span><br />
Type Ctrl+a c.<br />
Every new created screen window is identified by an unique number. The first window (the one you&#8217;re actually using) is numbered as 0, while future windows will be labeled as 1, 2, 3 etc.<br />
<span style="color:#008000;"><strong>Switching between windows</strong></span><br />
a) Use Ctrl-a n and Ctrl-a p to switch to the next or previous window in the list and  Ctrl-a space, to toggle through the shells.<br />
b) Use Ctrl-a N, where N is a number from 0 to 9, to switch to the corresponding window.<br />
c) Use Ctrl-a &#8221; to get a full-screen list of windows. You can navigate this list with the arrow keys (or vi-style, with j and k), and pick a window to activate by pressing Enter when it&#8217;s highlighted. C-a w will give you a small, non-interactive list of windows.<br />
<span style="color:#008000;"><strong>Renaming Windows</strong></span><br />
Type Ctrl-a A, it will be prompted for a new window name.<br />
<span style="color:#008000;"><strong>Detaching and reattaching</strong></span><br />
Type Ctrl-a d for detach<br />
$screen -r to re-attach or resume session</p>
<p><span style="color:#008000;"><strong>Sharing the session between multiple user</strong></span><br />
We&#8217;ll use a very simple scenario for this one. Let&#8217;s say Jake wants to share access to a screen session with Bob. Jake &amp; Bob both have accounts on the system.</p>
<p>1. In order to enable multiuser mode the screen binary must be setuid for root.<br />
# chmod u+s /usr/bin/screen<br />
2. Jake starts a screen session.<br />
jake$ screen -S shared<br />
3. Jake must enable multiuser mode.<br />
CTRL+a : multiuser on<br />
This could be added to ~/.screenrc to have it enabled for all sessions, but case-by-case is probably safer.<br />
4. Jake must add Bob to the access control list for his session.<br />
CTRL+a : acladd bob<br />
5. Bob lists the screen sessions that Jake has available.<br />
bob$ screen -list jake/<br />
There are several screens on:<br />
1951.pts-1.testbox     (Private)<br />
1994.shared            (Multi, attached)<br />
2 Sockets in /tmp/screens/S-jake.</p>
<p>This shows us that Jake has 2 sessions. The second session named &#8220;shared&#8221; is a multiuser session &amp; Jake already has it attached.<br />
6. Bob attaches Jake&#8217;s multiuser session.<br />
bob$ screen -x jake/shared<br />
Bob could also connect using the PID.<br />
7. Jake can check to see if Bob is connected to his session.<br />
CTRL+a *<br />
This brings up a list of users in a screen session.<br />
term-type   size         user interface           window<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;-<br />
xterm       80&#215;24        bob@/dev/pts/11          0(email)     rwx<br />
linux       80&#215;24        jake@/dev/tty1           0(email)     rwx<br />
[Press Space to refresh; Return to end.]<br />
8. Jake can boot Bob from his screen session.<br />
CTRL+a : acldel bob<br />
Bob is immediately disconnected and sees&#8230;<br />
[remote detached]<br />
bob$</p>
<p><span style="color:#008000;"><strong>Monitoring</strong></span><br />
Say you&#8217;ve got a whole bunch of windows open. One of those windows is idling in a very inactive IRC channel. Since not much goes on in there, you don&#8217;t keep that window active but you would like to know when something is said. screen lets you monitor any window for activity by first switching to the window, and then hitting ^A M. When activity in that window occurs, screen will display a message at the bottom.<br />
On the other hand, say one of your windows is a compile of X. There&#8217;s lots and lots of activity and you&#8217;d like to know when the build is finished. You can monitor for 30 seconds of inactivity by switching to the window and hitting ^A _. When the window goes silent, screen will display a message at the bottom.<br />
These monitoring commands are toggles, so you can turn them off by switching to any monitored window and issuing the command again.</p>
<p><span style="color:#008000;"><strong>Copy and Paste</strong></span><br />
Here&#8217;s a feature that can be useful if you&#8217;re stuck in console mode &amp; don&#8217;t have a mouse available. screen has its own built in buffer for copying &amp; pasting text into the same or other windows.<br />
1. Enter copy mode by pressing CTRL+a [<br />
The status bar will read "Copy mode" with column &amp; line information.<br />
2. Move the cursor to the beginning of the block you wish to copy using standard vi keys or the arrow keys.<br />
3.Press the ENTER key.<br />
The status bar will read "First mark set" with column &amp; line information.<br />
4. Move the cursor to the end of the block you wish to copy using standard vi keys or the arrow keys.<br />
5. Press the ENTER key.<br />
The status bar will read "Copied X characters into buffer".<br />
6. Paste the copied text with CTRL+a ]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shabirimam.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shabirimam.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shabirimam.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shabirimam.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shabirimam.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shabirimam.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shabirimam.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shabirimam.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shabirimam.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shabirimam.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shabirimam.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shabirimam.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shabirimam.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shabirimam.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shabirimam.wordpress.com&amp;blog=5598666&amp;post=128&amp;subd=shabirimam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shabirimam.wordpress.com/2009/02/12/gnu-screen-tutorial/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eebe147d70248c6000e33c9267f86b17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shabirimam</media:title>
		</media:content>
	</item>
	</channel>
</rss>
