<?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>Mazenet's Blog</title>
	<atom:link href="http://mazelinux.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mazelinux.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 07 Aug 2009 06:58:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mazelinux.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Mazenet's Blog</title>
		<link>http://mazelinux.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mazelinux.wordpress.com/osd.xml" title="Mazenet&#039;s Blog" />
	<atom:link rel='hub' href='http://mazelinux.wordpress.com/?pushpress=hub'/>
		<item>
		<title>display the Nth line of a file</title>
		<link>http://mazelinux.wordpress.com/2009/08/07/display-the-nth-line-of-a-file/</link>
		<comments>http://mazelinux.wordpress.com/2009/08/07/display-the-nth-line-of-a-file/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 06:58:10 +0000</pubDate>
		<dc:creator>mazenet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mazelinux.wordpress.com/?p=51</guid>
		<description><![CDATA[if you want to display or view a particular line for eg 5th line of a file then u can use sed for that.. [root@server1 ~]# sed -n &#8217;14p&#8217; /etc/passwd gopher:x:13:30:gopher:/var/gopher:/sbin/nologin in the above example it displays the 14 line of the file /etc/passwd<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=51&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>if you want to display or view  a particular line for eg 5th line of a file then u can use <strong>sed </strong> for that..</p>
<p><strong> [root@server1 ~]# sed -n &#8217;14p&#8217; /etc/passwd<br />
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin</strong></p>
<p>in the above example it displays the 14 line of the file /etc/passwd</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mazelinux.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mazelinux.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mazelinux.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mazelinux.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mazelinux.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mazelinux.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mazelinux.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mazelinux.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mazelinux.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mazelinux.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mazelinux.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mazelinux.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mazelinux.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mazelinux.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=51&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mazelinux.wordpress.com/2009/08/07/display-the-nth-line-of-a-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40af008bbcd41ec9dd7d578246d2e9be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazenet</media:title>
		</media:content>
	</item>
		<item>
		<title>error restarting dovecot</title>
		<link>http://mazelinux.wordpress.com/2009/06/23/error-restarting-dovecot/</link>
		<comments>http://mazelinux.wordpress.com/2009/06/23/error-restarting-dovecot/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 13:01:16 +0000</pubDate>
		<dc:creator>mazenet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mazelinux.wordpress.com/?p=45</guid>
		<description><![CDATA[On some servers Dovecot doesn’t start automatically after reboot, or even sometimes while configuring itself it wont start, if the error is like while giving the command # service dovecot restart Starting dovecot: Fatal: Listen(143) failed :Address already in use try the following commands to check whether the port is already in use [root@station5 ~]# [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=45&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>On some servers Dovecot doesn’t start automatically after reboot, or even sometimes while configuring itself it wont start,</p>
<p>if the error is like while giving the command</p>
<p># <strong>service dovecot restart </strong><br />
<strong>Starting dovecot: Fatal: Listen(143) failed :Address already in use </strong></p>
<p>try the following commands to check whether the port is already in use</p>
<p><strong> [root@station5 ~]# netstat -a | grep imap</strong></p>
<p>if it returns nothing then try</p>
<p><strong> [root@station5 ~]# lsof -i :143</strong></p>
<p>where lsof is the command to list information about files opened  by  processes then you will get the result if anyother process occupied the port 143<br />
then make the port free by stop that process </p>
<p>for example<br />
<strong> [root@station5 ~]# lsof -i :143</strong><br />
<strong>COMMAND    PID  USER   FD   TYPE DEVICE SIZE NODE NAME<br />
cyrus-mas 5115 cyrus   11u  IPv6  22457       TCP *:imap (LISTEN)<br />
cyrus-mas 5115 cyrus   14u  IPv4  22459       TCP *:imap (LISTEN)<br />
imapd     5122 cyrus    4u  IPv6  22457       TCP *:imap (LISTEN)<br />
imapd     5127 cyrus    4u  IPv4  </strong><strong>22459       TCP *:imap (LISTEN)<br />
imapd     5131 cyrus    4u  IPv6  22457       TCP *:imap (LISTEN)<br />
imapd     5133 cyrus    4u  IPv4  22459       TCP *:imap (LISTEN)<br />
imapd     5135 cyrus    4u  IPv6  22457       TCP *:imap (LISTEN)<br />
imapd     5136 cyrus    4u  IPv6  22457       TCP *:imap (LISTEN)<br />
imapd     5137 cyrus    4u  IPv6  22457       TCP *:imap (LISTEN)<br />
imapd     5140 cyrus    4u  IPv4  22459       TCP *:imap (LISTEN)<br />
imapd     5141 cyrus    4u  IPv4  22459       TCP *:imap (LISTEN)<br />
imapd     5142 cyrus    4u  IPv4  22459       TCP *:imap (LISTEN)</p>
<p></strong></p>
<p>then stop the service of cyrus-imapd as </p>
<p><strong>service cyrus-imapd stop</strong></p>
<p>if you dont know the service for cyrus then get it easily by<br />
<strong>[root@station5 ~]# chkconfig &#8211;list | grep cyrus<br />
cyrus-imapd     0:off   1:off   2:on    3:on    4:on    5:on    6:off</strong></p>
<p>and then try restarting the dovecot </p>
<p><strong>[root@station5 ~]# service dovecot restart<br />
Stopping Dovecot Imap:                                     [FAILED]<br />
Starting Dovecot Imap:                                     [  OK  ]<br />
</strong></p>
<p>that&#8217;s all ok&#8230;..</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mazelinux.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mazelinux.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mazelinux.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mazelinux.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mazelinux.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mazelinux.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mazelinux.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mazelinux.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mazelinux.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mazelinux.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mazelinux.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mazelinux.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mazelinux.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mazelinux.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=45&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mazelinux.wordpress.com/2009/06/23/error-restarting-dovecot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40af008bbcd41ec9dd7d578246d2e9be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazenet</media:title>
		</media:content>
	</item>
		<item>
		<title>sum of digit</title>
		<link>http://mazelinux.wordpress.com/2009/03/11/sum-of-digit/</link>
		<comments>http://mazelinux.wordpress.com/2009/03/11/sum-of-digit/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 07:37:18 +0000</pubDate>
		<dc:creator>mazenet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mazelinux.wordpress.com/2009/03/11/sum-of-digit/</guid>
		<description><![CDATA[if [ $# -ne 1 ] then echo &#8220;Usage: $0 number&#8221; echo &#8221; I will find sum of all digit for given number&#8221; echo &#8221; For eg. $0 123, I will print 6 as sum of all digit (1+2+3)&#8221; exit 1 fi n=$1 sum=0 d=0 while [ $n -gt 0 ] do d=`expr $n % [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=44&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>if [ $# -ne 1 ]<br />
then<br />
    echo &#8220;Usage: $0   number&#8221;<br />
    echo &#8221;       I will find sum of all digit for given number&#8221;<br />
    echo &#8221;       For eg. $0 123, I will print 6 as sum of all digit (1+2+3)&#8221;<br />
    exit 1<br />
fi</p>
<p>n=$1<br />
sum=0<br />
d=0<br />
while [ $n -gt 0 ]<br />
do<br />
    d=`expr $n % 10`<br />
    sum=`expr $sum + $d`<br />
    n=`expr $n / 10`<br />
done<br />
    echo  &#8220;Sum of digit for number is $sum&#8221;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mazelinux.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mazelinux.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mazelinux.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mazelinux.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mazelinux.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mazelinux.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mazelinux.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mazelinux.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mazelinux.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mazelinux.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mazelinux.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mazelinux.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mazelinux.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mazelinux.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=44&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mazelinux.wordpress.com/2009/03/11/sum-of-digit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40af008bbcd41ec9dd7d578246d2e9be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazenet</media:title>
		</media:content>
	</item>
		<item>
		<title>securing the files</title>
		<link>http://mazelinux.wordpress.com/2009/01/05/securing-the-files/</link>
		<comments>http://mazelinux.wordpress.com/2009/01/05/securing-the-files/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 11:08:22 +0000</pubDate>
		<dc:creator>mazenet</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://mazelinux.wordpress.com/?p=42</guid>
		<description><![CDATA[this tip is about two powerful utilities that ensure the security of your data. Let us assume that you have a whole lot of files that you want to protect against mischievous tampering or alteration. 1)With the GPG program you can digitally &#8216;sign&#8217; files, &#38; ensure tamper detection easily. With GPG you can &#8216;sign&#8217; only [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=42&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>this tip is about two powerful utilities that ensure the security of your data. Let us assume that you have a whole lot of files that you want to protect against mischievous tampering or alteration. </p>
<p>1)With the GPG program you can digitally &#8216;sign&#8217; files, &amp; ensure tamper detection easily. With GPG you can &#8216;sign&#8217; only one file at a time.<br />
2)With md5 you can create checksums of several files at a time (using the md5sum program).But if intruders can tamper with the file,they can also tamper with the md5 checksum, &amp; destroy all traces of their mischief. </p>
<p>Any modification to any of the files is detected by verifying the md5 checksum. Any modification to the md5 checksum file gets detected by verification using GPG, the digital signature of the checksum file.</p>
<p>Select some files<br />
 # ls -l<br />
-rw-r&#8211;r&#8211; 1 root root        0 Jan  5 07:21 testfile1</p>
<p>-rw-r&#8211;r&#8211; 1 root root        0 Jan  5 07:21 testfile2</p>
<p>-rw-r&#8211;r&#8211; 1 root root        0 Jan  5 07:21 testfile3</p>
<p>step: 1<br />
create the md5sums to fhat files &amp; send the output to md5sum_file<br />
 # md5sum testfile* &gt;&gt; mdsum_file</p>
<p>mdsum_file contains md5sum of that 3 files. that entries are</p>
<p>d41d8cd98f00b204e9800998ecf8427e  testfile1</p>
<p>d41d8cd98f00b204e9800998ecf8427e  testfile2</p>
<p>d41d8cd98f00b204e9800998ecf8427e  testfile3</p>
<p> first column is the md5sum of the file named in the second column.</p>
<p>Step 2:<br />
Check the md5sums of that  files  :</p>
<p> # md5sum -c md5sum_file<br />
output are:<br />
	testfile1: ok<br />
	testfile2: ok<br />
	testfile3: ok </p>
<p>Now change one of the files(say testfile1) &amp; check<br />
 # md5sum -c md5sum_file<br />
output file:<br />
	testfile1: failed<br />
	testfile2: ok<br />
	testfile3: ok</p>
<p>So alterations made to any file can be spotted easily by using md5sum.</p>
<p>Step 3:<br />
Now we need to protect this md5sum_file. The cunning criminals who tampered with your files can also tamper with the md5sum_file. So now we use GPG(an encryption tool) to digitally sign the md5sum_file.<br />
The GPG signature is done using a secret key known only to you. You can learn about GPG at http://www.gnupg.org/ .  The digital signature consists of an encrypted form of the hash digest of the file,which is signed. Any change to the file will render its digital signature ineffective. You can verify the digital signature using the public key of the person who signed the file. Thus any change to the md5sum_file will get noticed on verification of its digital signature.</p>
<p>For instance md5sum does not go into directories. following command will help you</p>
<p>find $1 -type f -print0 | xargs -0 md5sum -b &gt; md5file.md5</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mazelinux.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mazelinux.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mazelinux.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mazelinux.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mazelinux.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mazelinux.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mazelinux.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mazelinux.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mazelinux.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mazelinux.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mazelinux.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mazelinux.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mazelinux.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mazelinux.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=42&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mazelinux.wordpress.com/2009/01/05/securing-the-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40af008bbcd41ec9dd7d578246d2e9be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazenet</media:title>
		</media:content>
	</item>
		<item>
		<title>PDFs of man pages</title>
		<link>http://mazelinux.wordpress.com/2009/01/05/pdfs-of-man-pages/</link>
		<comments>http://mazelinux.wordpress.com/2009/01/05/pdfs-of-man-pages/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 11:05:12 +0000</pubDate>
		<dc:creator>mazenet</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://mazelinux.wordpress.com/?p=40</guid>
		<description><![CDATA[Convert the man pages to PDF format: man -t &#124; ps2pdf &#8211; &#62; .pdf example: man -t sed &#124; ps2pdf &#8211; &#62; sed.pdf<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=40&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Convert the man pages to PDF format:<br />
man -t    | ps2pdf &#8211; &gt;  .pdf</p>
<p>example:</p>
<p>man -t sed | ps2pdf &#8211; &gt; sed.pdf</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mazelinux.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mazelinux.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mazelinux.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mazelinux.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mazelinux.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mazelinux.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mazelinux.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mazelinux.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mazelinux.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mazelinux.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mazelinux.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mazelinux.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mazelinux.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mazelinux.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=40&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mazelinux.wordpress.com/2009/01/05/pdfs-of-man-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40af008bbcd41ec9dd7d578246d2e9be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazenet</media:title>
		</media:content>
	</item>
		<item>
		<title>Find and Replace strings in any file</title>
		<link>http://mazelinux.wordpress.com/2009/01/05/find-and-replace-strings-in-any-file/</link>
		<comments>http://mazelinux.wordpress.com/2009/01/05/find-and-replace-strings-in-any-file/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 11:03:05 +0000</pubDate>
		<dc:creator>mazenet</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://mazelinux.wordpress.com/?p=38</guid>
		<description><![CDATA[1) if you want to find a string with the name “jeva”, &#38; replace with “jeeva”,you can use # sed -i s/expression/replacement/g file.txt example: # sed -i s/jeva/jeeva/g mytestfile where i-insert, s-substitution, g-space 2)if you want to take a backup before replacing # sed -ibackup s/jeva/jeeva/g mytestfile here the changes are made in the mytestfile, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=38&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>        1) if you want to find a string with the name “jeva”, &amp; replace with “jeeva”,you can use</p>
<p>	# sed -i s/expression/replacement/g file.txt<br />
	example:<br />
	# sed -i s/jeva/jeeva/g mytestfile<br />
 	where i-insert, s-substitution, g-space</p>
<p>2)if you want to take a backup before replacing</p>
<p>	# sed -ibackup s/jeva/jeeva/g mytestfile<br />
	here the changes are made in the mytestfile, original content will be in the mytestfilebackup<br />
	file.if you use “i” option you can give any name for backup option.</p>
<p>	Example<br />
	# sed -iback s/jeva/jeeva/g mytestfile<br />
		it will create mytestfileback as a backup file<br />
	# sed -ib s/jeva/jeeva/g mytestfile<br />
		it will create mytestfileb as a backup file</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mazelinux.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mazelinux.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mazelinux.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mazelinux.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mazelinux.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mazelinux.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mazelinux.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mazelinux.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mazelinux.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mazelinux.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mazelinux.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mazelinux.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mazelinux.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mazelinux.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=38&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mazelinux.wordpress.com/2009/01/05/find-and-replace-strings-in-any-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40af008bbcd41ec9dd7d578246d2e9be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazenet</media:title>
		</media:content>
	</item>
		<item>
		<title>Splitting and merging large files</title>
		<link>http://mazelinux.wordpress.com/2009/01/05/splitting-and-merging-large-files/</link>
		<comments>http://mazelinux.wordpress.com/2009/01/05/splitting-and-merging-large-files/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 11:01:33 +0000</pubDate>
		<dc:creator>mazenet</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://mazelinux.wordpress.com/2009/01/05/splitting-and-merging-large-files/</guid>
		<description><![CDATA[You can split a big file of smaller parts of 100MB each, as follows: # split -b 100m bigfile parts_ to join them in a linux machine,use # cat parts_* &#62; bigfile<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=37&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You can split a big file of smaller parts of 100MB each, as follows:</p>
<p>	# split -b 100m bigfile parts_</p>
<p>	to join them in a linux machine,use</p>
<p>	# cat parts_* &gt; bigfile</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mazelinux.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mazelinux.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mazelinux.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mazelinux.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mazelinux.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mazelinux.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mazelinux.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mazelinux.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mazelinux.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mazelinux.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mazelinux.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mazelinux.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mazelinux.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mazelinux.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=37&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mazelinux.wordpress.com/2009/01/05/splitting-and-merging-large-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40af008bbcd41ec9dd7d578246d2e9be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazenet</media:title>
		</media:content>
	</item>
		<item>
		<title>What do you when the monitor goes blank</title>
		<link>http://mazelinux.wordpress.com/2009/01/05/what-do-you-when-the-monitor-goes-blank/</link>
		<comments>http://mazelinux.wordpress.com/2009/01/05/what-do-you-when-the-monitor-goes-blank/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 10:58:56 +0000</pubDate>
		<dc:creator>mazenet</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://mazelinux.wordpress.com/?p=33</guid>
		<description><![CDATA[In Linux, we have found that after some time, the monitor goes into power-saving mode, ie., it goes blank To modify this setting, you need to run the following command: # xset dpms 1800 2400 3600 this indicates that the monitor screen goes blank after 30 minutes(1800 seconds),goes into power saving mode after 40 minutes(2400 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=33&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Linux, we have found that after some time, the monitor goes into power-saving mode, ie., it goes blank To modify this setting, you need to run the following command:</p>
<p>	# xset dpms 1800 2400 3600</p>
<p>        this indicates that the monitor screen goes blank after 30 minutes(1800 seconds),goes into power saving mode after 40 minutes(2400 seconds) and switches off after 60 minutes(3600 seconds).</p>
<p>You can also stop this feature<br />
	#xset s off</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mazelinux.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mazelinux.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mazelinux.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mazelinux.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mazelinux.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mazelinux.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mazelinux.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mazelinux.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mazelinux.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mazelinux.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mazelinux.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mazelinux.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mazelinux.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mazelinux.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=33&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mazelinux.wordpress.com/2009/01/05/what-do-you-when-the-monitor-goes-blank/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40af008bbcd41ec9dd7d578246d2e9be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazenet</media:title>
		</media:content>
	</item>
		<item>
		<title>Virtual LAN configuration</title>
		<link>http://mazelinux.wordpress.com/2009/01/02/virtual-lan-configuration/</link>
		<comments>http://mazelinux.wordpress.com/2009/01/02/virtual-lan-configuration/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 07:56:18 +0000</pubDate>
		<dc:creator>mazenet</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://mazelinux.wordpress.com/?p=31</guid>
		<description><![CDATA[You can create a VLAN on Linux by executing the following commands: vconfig add ifconfig . netmask ifconfig . up For example: vconfig add eth0 6 ifconfig eth0.5 192.168.1.6 netmask 255.255.255.0 ifconfig eth0.6 up You can view the traffic of that VLAN by executing the following command: cat /proc/net/vlan/eth0.6 like you can configure 2048 VLANs [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=31&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You can create a VLAN  on Linux by executing the following commands:<br />
vconfig  add<br />
ifconfig .  netmask<br />
 ifconfig . up</p>
<p>For example:<br />
vconfig add eth0 6<br />
ifconfig eth0.5 192.168.1.6 netmask 255.255.255.0<br />
ifconfig eth0.6 up</p>
<p>You can view the traffic of that VLAN by executing the following command:</p>
<p>cat /proc/net/vlan/eth0.6</p>
<p>like you can configure 2048 VLANs for one physical interface.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mazelinux.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mazelinux.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mazelinux.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mazelinux.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mazelinux.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mazelinux.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mazelinux.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mazelinux.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mazelinux.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mazelinux.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mazelinux.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mazelinux.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mazelinux.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mazelinux.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=31&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mazelinux.wordpress.com/2009/01/02/virtual-lan-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40af008bbcd41ec9dd7d578246d2e9be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazenet</media:title>
		</media:content>
	</item>
		<item>
		<title>Create your own Live CD ISO</title>
		<link>http://mazelinux.wordpress.com/2009/01/02/create-your-own-live-cd-iso/</link>
		<comments>http://mazelinux.wordpress.com/2009/01/02/create-your-own-live-cd-iso/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 06:47:34 +0000</pubDate>
		<dc:creator>mazenet</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://mazelinux.wordpress.com/?p=29</guid>
		<description><![CDATA[Go to this url: http://custom.nimblex.net The base distro size is 200 mb,which is shown as a green bar on the top of the NimbleX welcome Live cd generator page, select type of configuration software selection walpapper selection user creation Remember that custom NimbleX generates a cd-size distro.Hence,700mb of software is all you get. The final [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=29&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Go to this url:<br />
http://custom.nimblex.net</p>
<p>The base distro size is 200 mb,which is shown as a green bar on the top of the NimbleX welcome Live cd generator page,<br />
select<br />
type of configuration<br />
software selection<br />
walpapper selection<br />
user creation</p>
<p>Remember that custom NimbleX generates a cd-size distro.Hence,700mb of software is all you get.</p>
<p>The final screen after the language selection is a summary of all the choices made. It also enables you to go back &amp; change your selections if required.</p>
<p>Finally, the ISO is created &amp; it’s time to download. This ISO image remains on the server for 12 hours. So you must finish downloading within the allocated time.</p>
<p>type this command in terminal &amp; download:<br />
wget -c http://custom.nimblex.net/data/generated-iso/NimbleX-34197Crp.iso</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mazelinux.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mazelinux.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mazelinux.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mazelinux.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mazelinux.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mazelinux.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mazelinux.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mazelinux.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mazelinux.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mazelinux.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mazelinux.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mazelinux.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mazelinux.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mazelinux.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mazelinux.wordpress.com&amp;blog=5825673&amp;post=29&amp;subd=mazelinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mazelinux.wordpress.com/2009/01/02/create-your-own-live-cd-iso/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40af008bbcd41ec9dd7d578246d2e9be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazenet</media:title>
		</media:content>
	</item>
	</channel>
</rss>
