<?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>Mohammedz.com</title>
	<atom:link href="http://mohammednv.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mohammednv.wordpress.com</link>
	<description>My homepage</description>
	<lastBuildDate>Sat, 14 Nov 2009 03:47:17 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='mohammednv.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/071fe3f82c1d3659a3f801d2784917c0?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Mohammedz.com</title>
		<link>http://mohammednv.wordpress.com</link>
	</image>
			<item>
		<title>TMOUT: How to set auto-logout time for SSH sessions</title>
		<link>http://mohammednv.wordpress.com/2009/11/14/tmout-how-to-set-auto-logout-time-for-ssh-sessions/</link>
		<comments>http://mohammednv.wordpress.com/2009/11/14/tmout-how-to-set-auto-logout-time-for-ssh-sessions/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 03:47:17 +0000</pubDate>
		<dc:creator>Mohammed</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripts and Codes]]></category>
		<category><![CDATA[.bashrc]]></category>
		<category><![CDATA[.bash_profile]]></category>
		<category><![CDATA[auto-logout]]></category>
		<category><![CDATA[idle session]]></category>
		<category><![CDATA[timeout]]></category>
		<category><![CDATA[TMOUT]]></category>

		<guid isPermaLink="false">http://mohammednv.wordpress.com/?p=331</guid>
		<description><![CDATA[If you want to set timeouts for user sessions on your Linux machine, you can use the variable TMOUT. You can set a value for TMOUT in bash_profile or bashrc file.
# auto-logout if the shell session is idle for 1 hour
TMOUT=3600
~mohammed
Posted in Linux, Scripts and Codes       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mohammednv.wordpress.com&blog=2446359&post=331&subd=mohammednv&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://mohammednv.wordpress.com/2009/11/14/tmout-how-to-set-auto-logout-time-for-ssh-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be2b0435debc04a462f0ecccdd9b58d0?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Mohammed</media:title>
		</media:content>
	</item>
		<item>
		<title>How to find past/future dates?</title>
		<link>http://mohammednv.wordpress.com/2009/11/11/how-to-find-pastfuture-dates/</link>
		<comments>http://mohammednv.wordpress.com/2009/11/11/how-to-find-pastfuture-dates/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 07:31:35 +0000</pubDate>
		<dc:creator>Mohammed</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripts and Codes]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[day ago]]></category>
		<category><![CDATA[future data]]></category>
		<category><![CDATA[month ago]]></category>
		<category><![CDATA[next date]]></category>
		<category><![CDATA[old date]]></category>
		<category><![CDATA[past date]]></category>
		<category><![CDATA[previous date]]></category>
		<category><![CDATA[year ago]]></category>

		<guid isPermaLink="false">http://mohammednv.wordpress.com/?p=328</guid>
		<description><![CDATA[what day it was exactly one month ago? Are you counting down the days to find it? Or searching for a calender?
You can use &#8220;date&#8221; command in such situations. See the example below:
****************************************
-bash-3.1$ date +%F
2009-06-29
-bash-3.1$ date -d&#8221;1 day ago&#8221; +%F
2009-06-28
-bash-3.1$ date -d&#8221;1 week ago&#8221; +%F
2009-06-22
-bash-3.1$ date -d&#8221;1 month ago&#8221; +%F
2009-05-29
-bash-3.1$ date -d&#8221;1 year ago&#8221; +%F
2008-06-29
-bash-3.1$
****************************************
These [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mohammednv.wordpress.com&blog=2446359&post=328&subd=mohammednv&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://mohammednv.wordpress.com/2009/11/11/how-to-find-pastfuture-dates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be2b0435debc04a462f0ecccdd9b58d0?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Mohammed</media:title>
		</media:content>
	</item>
		<item>
		<title>Apache: how to disable directory listing</title>
		<link>http://mohammednv.wordpress.com/2009/11/08/apache-how-to-disable-directory-listing/</link>
		<comments>http://mohammednv.wordpress.com/2009/11/08/apache-how-to-disable-directory-listing/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 07:50:38 +0000</pubDate>
		<dc:creator>Mohammed</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[directory browsing]]></category>
		<category><![CDATA[directory listing]]></category>
		<category><![CDATA[httpd.conf]]></category>
		<category><![CDATA[indexes]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://mohammednv.wordpress.com/?p=325</guid>
		<description><![CDATA[Disable directory listing using httpd.conf:
* Open your httpd.conf and look for &#8220;Options Indexes&#8221;
* Change &#8220;Indexes&#8221; to &#8220;-Indexes&#8221; if it exists.
* Or else add &#8220;Options -Indexes&#8221; as a new line
* Restart your apache webserver
Disable directory listing using .htaccess:-
* Open your .htacces file and look for &#8220;Options Indexes&#8221;
* Change &#8220;Indexes&#8221; to &#8220;-Indexes&#8221; if it exists.
* Or else [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mohammednv.wordpress.com&blog=2446359&post=325&subd=mohammednv&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://mohammednv.wordpress.com/2009/11/08/apache-how-to-disable-directory-listing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be2b0435debc04a462f0ecccdd9b58d0?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Mohammed</media:title>
		</media:content>
	</item>
		<item>
		<title>Array manipulation in shell scripting</title>
		<link>http://mohammednv.wordpress.com/2009/11/08/array-manipulation-in-shell-scripting/</link>
		<comments>http://mohammednv.wordpress.com/2009/11/08/array-manipulation-in-shell-scripting/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 05:29:17 +0000</pubDate>
		<dc:creator>Mohammed</dc:creator>
				<category><![CDATA[Scripts and Codes]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[array index]]></category>

		<guid isPermaLink="false">http://mohammednv.wordpress.com/?p=322</guid>
		<description><![CDATA[Best way to understand shell scripting is from examples. Find the example below to understand different options available in bash array manipulation.
You can down this script from here.
*********************************
#!/bin/bash
array=(one two three four [5]=five)
echo &#8220;Array size: ${#array[*]}&#8221;
echo &#8220;Array items:&#8221;
for item in ${array[*]}
do
printf &#8221; %s\n&#8221; $item
done
echo &#8220;Array indexes:&#8221;
for index in ${!array[*]}
do
printf &#8221; %d\n&#8221; $index
done
echo &#8220;Array items and indexes:&#8221;
for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mohammednv.wordpress.com&blog=2446359&post=322&subd=mohammednv&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://mohammednv.wordpress.com/2009/11/08/array-manipulation-in-shell-scripting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be2b0435debc04a462f0ecccdd9b58d0?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Mohammed</media:title>
		</media:content>
	</item>
		<item>
		<title>HISTTIMEFORMAT: add execution time to Linux&#8217;s history file</title>
		<link>http://mohammednv.wordpress.com/2009/11/07/histtimeformat-add-execution-time-to-linuxs-history-file/</link>
		<comments>http://mohammednv.wordpress.com/2009/11/07/histtimeformat-add-execution-time-to-linuxs-history-file/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 08:32:23 +0000</pubDate>
		<dc:creator>Mohammed</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripts and Codes]]></category>
		<category><![CDATA[bash_history]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[HISTTIMEFORMAT]]></category>
		<category><![CDATA[timestamp]]></category>

		<guid isPermaLink="false">http://mohammednv.wordpress.com/2009/11/07/histtimeformat-add-execution-time-to-linuxs-history-file/</guid>
		<description><![CDATA[As you might know, Linux logs all the commands executed on a shell prompt to its history file. The file is .bash_history by default, but you can change it. Also, you can change HISTTIMEFORMAT to enable timestamping to history.
If you add the following line to your bashrc or bash_profile, the time stamp information associated with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mohammednv.wordpress.com&blog=2446359&post=321&subd=mohammednv&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://mohammednv.wordpress.com/2009/11/07/histtimeformat-add-execution-time-to-linuxs-history-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be2b0435debc04a462f0ecccdd9b58d0?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Mohammed</media:title>
		</media:content>
	</item>
		<item>
		<title>Rsnapshot: mysql backup script</title>
		<link>http://mohammednv.wordpress.com/2009/11/05/rsnapshot-mysql-backup-script/</link>
		<comments>http://mohammednv.wordpress.com/2009/11/05/rsnapshot-mysql-backup-script/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 09:03:57 +0000</pubDate>
		<dc:creator>Mohammed</dc:creator>
				<category><![CDATA[Scripts and Codes]]></category>
		<category><![CDATA[backup script]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[rsnapshot]]></category>

		<guid isPermaLink="false">http://mohammednv.wordpress.com/2009/11/05/rsnapshot-mysql-backup-script/</guid>
		<description><![CDATA[Here is a bash script to backup all MySQL databases from a remote Linux/Unix machine through rsnapshot tool. This is written to work with rsnapshot, but you should be able to modify this to run individually.
You can download the script from here.
Regards,
Mohammed.
Posted in Scripts and Codes       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mohammednv.wordpress.com&blog=2446359&post=319&subd=mohammednv&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://mohammednv.wordpress.com/2009/11/05/rsnapshot-mysql-backup-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be2b0435debc04a462f0ecccdd9b58d0?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Mohammed</media:title>
		</media:content>
	</item>
		<item>
		<title>Bash script to backup mysql databases</title>
		<link>http://mohammednv.wordpress.com/2009/11/05/bash-script-to-backup-mysql-databases/</link>
		<comments>http://mohammednv.wordpress.com/2009/11/05/bash-script-to-backup-mysql-databases/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 08:56:50 +0000</pubDate>
		<dc:creator>Mohammed</dc:creator>
				<category><![CDATA[Scripts and Codes]]></category>

		<guid isPermaLink="false">http://mohammednv.wordpress.com/?p=316</guid>
		<description><![CDATA[Here is a bash script to backup all mysql databases, including mysqlcheck.
The script has the following advantages:
* It will list all databases and will dump them separately
* all backups will be stored under /root/mysql_backups/
* backups will run on a daily rotational basis over 7days
* old backups will be removed only after completing new backup processes.
* [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mohammednv.wordpress.com&blog=2446359&post=316&subd=mohammednv&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://mohammednv.wordpress.com/2009/11/05/bash-script-to-backup-mysql-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be2b0435debc04a462f0ecccdd9b58d0?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Mohammed</media:title>
		</media:content>
	</item>
		<item>
		<title>!!! Chelsea !!!</title>
		<link>http://mohammednv.wordpress.com/2009/10/18/chelsea/</link>
		<comments>http://mohammednv.wordpress.com/2009/10/18/chelsea/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 22:38:54 +0000</pubDate>
		<dc:creator>Mohammed</dc:creator>
				<category><![CDATA[Gallery]]></category>
		<category><![CDATA[chelsea]]></category>
		<category><![CDATA[fa cup]]></category>
		<category><![CDATA[John Terry]]></category>

		<guid isPermaLink="false">http://mohammednv.wordpress.com/?p=311</guid>
		<description><![CDATA[Chelsea FC
Chelsea players lift Community Shield 2009
John Terry
Frank Lampard
Posted in Gallery       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mohammednv.wordpress.com&blog=2446359&post=311&subd=mohammednv&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://mohammednv.wordpress.com/2009/10/18/chelsea/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be2b0435debc04a462f0ecccdd9b58d0?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Mohammed</media:title>
		</media:content>
	</item>
		<item>
		<title>Restore primary partition table without overwriting the MBR</title>
		<link>http://mohammednv.wordpress.com/2009/10/13/restore-primary-partition-table-without-overwriting-the-mbr/</link>
		<comments>http://mohammednv.wordpress.com/2009/10/13/restore-primary-partition-table-without-overwriting-the-mbr/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 23:04:42 +0000</pubDate>
		<dc:creator>Mohammed</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[MBR]]></category>
		<category><![CDATA[partition table]]></category>
		<category><![CDATA[partition table recovery]]></category>
		<category><![CDATA[restore partition table]]></category>

		<guid isPermaLink="false">http://mohammednv.wordpress.com/2009/10/13/restore-primary-partition-table-without-overwriting-the-mbr/</guid>
		<description><![CDATA[You can find this useful information from the manpage for gpart.
The gpart may be of some help when the primary partition table was lost or destroyed but it can under no circumstances replace proper disk/partition  table  backups. To save the master boot record (MBR) including the primary partition table to a file type
dd if=/dev/hda of=mbr [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mohammednv.wordpress.com&blog=2446359&post=309&subd=mohammednv&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://mohammednv.wordpress.com/2009/10/13/restore-primary-partition-table-without-overwriting-the-mbr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be2b0435debc04a462f0ecccdd9b58d0?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Mohammed</media:title>
		</media:content>
	</item>
		<item>
		<title>WordPress: password protect your posts</title>
		<link>http://mohammednv.wordpress.com/2009/10/07/wordpress-password-protect-your-posts/</link>
		<comments>http://mohammednv.wordpress.com/2009/10/07/wordpress-password-protect-your-posts/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 08:58:56 +0000</pubDate>
		<dc:creator>Mohammed</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[password post]]></category>
		<category><![CDATA[password protect]]></category>
		<category><![CDATA[protect article]]></category>
		<category><![CDATA[protect post]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://mohammednv.wordpress.com/?p=306</guid>
		<description><![CDATA[Do you want to protect your posts/articles with passwords? It&#8217;s much simpler than Joomla method. In wordpress, you can do it in any of the following methods.
When you Edit a post, under the Publish module (next to Visibility), click on
the Edit link. Select the Password Protected box and enter the password.
When you use Quick Edit [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mohammednv.wordpress.com&blog=2446359&post=306&subd=mohammednv&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://mohammednv.wordpress.com/2009/10/07/wordpress-password-protect-your-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be2b0435debc04a462f0ecccdd9b58d0?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Mohammed</media:title>
		</media:content>
	</item>
	</channel>
</rss>