<?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/"
	>

<channel>
	<title>satishgaudo.com &#187; linux</title>
	<atom:link href="http://satishgaudo.com/satblog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://satishgaudo.com/satblog</link>
	<description>Understanding technology</description>
	<lastBuildDate>Thu, 26 Aug 2010 06:27:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux command to replace a string across multiple files</title>
		<link>http://satishgaudo.com/satblog/2010/08/26/linux-command-to-replace-a-string-across-multiple-files/</link>
		<comments>http://satishgaudo.com/satblog/2010/08/26/linux-command-to-replace-a-string-across-multiple-files/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 06:27:18 +0000</pubDate>
		<dc:creator>satishgaudo</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux command to replace a string across multiple files]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://satishgaudo.com/satblog/?p=263</guid>
		<description><![CDATA[
			
				
			
		
sed -i &#8217;s/product1.php/product.php/g&#8217; *.php
In the command above  &#8220;product1.php&#8221; is replaced with &#8220;product.php&#8221; across all files with extension &#8220;.php&#8221; within the project folder.
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2010%2F08%2F26%2Flinux-command-to-replace-a-string-across-multiple-files%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2010%2F08%2F26%2Flinux-command-to-replace-a-string-across-multiple-files%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>sed -i &#8217;s/product1.php/product.php/g&#8217; *.php</p>
<p>In the command above  &#8220;product1.php&#8221; is replaced with &#8220;product.php&#8221; across all files with extension &#8220;.php&#8221; within the project folder.</p>
]]></content:encoded>
			<wfw:commentRss>http://satishgaudo.com/satblog/2010/08/26/linux-command-to-replace-a-string-across-multiple-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regular Expressions:Examples</title>
		<link>http://satishgaudo.com/satblog/2010/04/26/regular-expressionsexamples/</link>
		<comments>http://satishgaudo.com/satblog/2010/04/26/regular-expressionsexamples/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 10:01:07 +0000</pubDate>
		<dc:creator>satishgaudo</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Regular Expressions]]></category>

		<guid isPermaLink="false">http://satishgaudo.com/satblog/?p=177</guid>
		<description><![CDATA[
			
				
			
		

  * .at matches any three-character string ending with "at",
      including "hat", "cat", and "bat".
  * [hc]at matches "hat" and "cat".
  * [^b]at matches all strings matched by .at except "bat".
  * ^[hc]at matches "hat" and "cat", but only at the beginning
     [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2010%2F04%2F26%2Fregular-expressionsexamples%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2010%2F04%2F26%2Fregular-expressionsexamples%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<pre >
  * .at matches any three-character string ending with "at",<br />
      including "hat", "cat", and "bat".</p>
<p>  * [hc]at matches "hat" and "cat".</p>
<p>  * [^b]at matches all strings matched by .at except "bat".</p>
<p>  * ^[hc]at matches "hat" and "cat", but only at the beginning<br />
     of the string or line.</p>
<p>  * [hc]at$ matches "hat" and "cat", but only at the end<br />
     of the string or line.</p>
<p>  * \[.\] matches any single character surrounded by "[" and "]"<br />
       since the brackets are escaped, for      example: "[a]" and "[b]".</p>
<p>  * [hc]+at matches "hat", "cat", "hhat", "chat", "hcat",<br />
       "ccchat", and so on, but not "at".</p>
<p>  * [hc]?at matches "hat", "cat", and "at".</p>
<p>  * [hc]*at matches "hat", "cat", "hhat", "chat", "hcat", "ccchat",<br />
       "at", and so on.</p>
<p>  * cat|dog matches "cat" or "dog".
</pre >
   For detail explanation: <a href="http://en.wikipedia.org/wiki/Regular_expression">http://en.wikipedia.org/wiki/Regular_expression</a></p>
]]></content:encoded>
			<wfw:commentRss>http://satishgaudo.com/satblog/2010/04/26/regular-expressionsexamples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>shell script to back up database and script folders</title>
		<link>http://satishgaudo.com/satblog/2009/10/27/shell-script-to-back-up-database-and-script-folders/</link>
		<comments>http://satishgaudo.com/satblog/2009/10/27/shell-script-to-back-up-database-and-script-folders/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 07:00:06 +0000</pubDate>
		<dc:creator>satishgaudo</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://satishgaudo.com/satblog/?p=124</guid>
		<description><![CDATA[
			
				
			
		
#!/bin/bash
cd /ct20/uploads/backup/
NOW=$(date +&#8221;%m-%d-%Y&#8221;)
tar -cjf backupsite_$NOW.bz2 /opt/www/ct20
tar -cjf backupcms_$NOW.bz2 /opt/www/cms
tar -cjf mysqlbackup_$NOW.bz2 /opt/lib/mysql 
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2009%2F10%2F27%2Fshell-script-to-back-up-database-and-script-folders%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2009%2F10%2F27%2Fshell-script-to-back-up-database-and-script-folders%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>#!/bin/bash<br />
cd /ct20/uploads/backup/<br />
NOW=$(date +&#8221;%m-%d-%Y&#8221;)<br />
tar -cjf backupsite_$NOW.bz2 /opt/www/ct20<br />
tar -cjf backupcms_$NOW.bz2 /opt/www/cms<br />
tar -cjf mysqlbackup_$NOW.bz2 /opt/lib/mysql </p>
]]></content:encoded>
			<wfw:commentRss>http://satishgaudo.com/satblog/2009/10/27/shell-script-to-back-up-database-and-script-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>shell script to optimize database</title>
		<link>http://satishgaudo.com/satblog/2009/10/27/shell-script-to-optimize-database/</link>
		<comments>http://satishgaudo.com/satblog/2009/10/27/shell-script-to-optimize-database/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 06:57:24 +0000</pubDate>
		<dc:creator>satishgaudo</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://satishgaudo.com/satblog/?p=122</guid>
		<description><![CDATA[
			
				
			
		
DB_LIST=&#8221;$(mysql -u root  -Bse &#8217;show databases&#8217; &#124; egrep -v &#8216;information_schema&#124;mysql&#124;test&#8217;)&#8221;
for db in ${DB_LIST[@]}
do
TABLENAMES=&#8221;$(mysql -u root  $db -Bse &#8217;show tables&#8217;)&#8221;
echo &#8220;Database: &#8220;$db
for TABLENAME in ${TABLENAMES[@]}
do
mysql -u root $db -Bse &#8220;optimize TABLE $TABLENAME;&#8221;
echo $TABLENAME&#8221; table has been optimized&#8221;
done
echo $db &#8211; $TABLENAME &#8220;Optimized has been completed&#8221;
done
echo &#8220;All Databases have been successfully Optimized&#8221;
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2009%2F10%2F27%2Fshell-script-to-optimize-database%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2009%2F10%2F27%2Fshell-script-to-optimize-database%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>DB_LIST=&#8221;$(mysql -u root  -Bse &#8217;show databases&#8217; | egrep -v &#8216;information_schema|mysql|test&#8217;)&#8221;<br />
for db in ${DB_LIST[@]}<br />
do<br />
TABLENAMES=&#8221;$(mysql -u root  $db -Bse &#8217;show tables&#8217;)&#8221;<br />
echo &#8220;Database: &#8220;$db<br />
for TABLENAME in ${TABLENAMES[@]}<br />
do<br />
mysql -u root $db -Bse &#8220;optimize TABLE $TABLENAME;&#8221;<br />
echo $TABLENAME&#8221; table has been optimized&#8221;<br />
done<br />
echo $db &#8211; $TABLENAME &#8220;Optimized has been completed&#8221;<br />
done<br />
echo &#8220;All Databases have been successfully Optimized&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://satishgaudo.com/satblog/2009/10/27/shell-script-to-optimize-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>shell script to Analyze database</title>
		<link>http://satishgaudo.com/satblog/2009/10/27/shell-script-to-analyze-database/</link>
		<comments>http://satishgaudo.com/satblog/2009/10/27/shell-script-to-analyze-database/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 06:56:21 +0000</pubDate>
		<dc:creator>satishgaudo</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://satishgaudo.com/satblog/?p=120</guid>
		<description><![CDATA[
			
				
			
		
DB_LIST=&#8221;$(mysql -u root  -Bse &#8217;show databases&#8217; &#124; egrep -v &#8216;information_schema&#124;mysql&#124;test&#8217;)&#8221;
for db in ${DB_LIST[@]}
do
TABLENAMES=&#8221;$(mysql -u root   $db -Bse &#8217;show tables&#8217;)&#8221;
echo &#8220;Database: &#8220;$db
for TABLENAME in ${TABLENAMES[@]}
do
mysql -u root $db -Bse &#8220;Analyze TABLE $TABLENAME;&#8221;
echo $TABLENAME &#8220;Analyze has been done&#8221;
done
echo $db &#8211; $TABLENAME &#8220;Analyzis has been completed&#8221;
done
echo &#8220;All Databases have been successfully Optimized&#8221;
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2009%2F10%2F27%2Fshell-script-to-analyze-database%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2009%2F10%2F27%2Fshell-script-to-analyze-database%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>DB_LIST=&#8221;$(mysql -u root  -Bse &#8217;show databases&#8217; | egrep -v &#8216;information_schema|mysql|test&#8217;)&#8221;<br />
for db in ${DB_LIST[@]}<br />
do<br />
TABLENAMES=&#8221;$(mysql -u root   $db -Bse &#8217;show tables&#8217;)&#8221;<br />
echo &#8220;Database: &#8220;$db<br />
for TABLENAME in ${TABLENAMES[@]}<br />
do<br />
mysql -u root $db -Bse &#8220;Analyze TABLE $TABLENAME;&#8221;<br />
echo $TABLENAME &#8220;Analyze has been done&#8221;<br />
done<br />
echo $db &#8211; $TABLENAME &#8220;Analyzis has been completed&#8221;<br />
done<br />
echo &#8220;All Databases have been successfully Optimized&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://satishgaudo.com/satblog/2009/10/27/shell-script-to-analyze-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>shell script to rotate logs between remote servers</title>
		<link>http://satishgaudo.com/satblog/2009/10/27/shell-script-to-rotate-logs-between-remote-servers/</link>
		<comments>http://satishgaudo.com/satblog/2009/10/27/shell-script-to-rotate-logs-between-remote-servers/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 06:47:42 +0000</pubDate>
		<dc:creator>satishgaudo</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://satishgaudo.com/satblog/?p=116</guid>
		<description><![CDATA[
			
				
			
		
cd /var/log/httpd
NOW=$(date +&#8221;%m-%d-%Y&#8221;)
mv  mobile-error_log mobile-error_log-$NOW
mv  mobile-access_log mobile-access_log-$NOW
/etc/init.d/httpd graceful
sleep 5
tar -cvjf /opt/logbackup/logs-$NOW.bz2  mobile-error_log-$NOW mobile-access_log-$NOW
scp mobile-access_log-$NOW domU-12-31-39-07-75-63:/clt20/uploads/mobilelog/
rm -f mobile-error_log-$NOW mobile-access_log-$NOW
Remember we have exchanged the authentication key between the two servers.
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2009%2F10%2F27%2Fshell-script-to-rotate-logs-between-remote-servers%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2009%2F10%2F27%2Fshell-script-to-rotate-logs-between-remote-servers%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>cd /var/log/httpd<br />
NOW=$(date +&#8221;%m-%d-%Y&#8221;)<br />
mv  mobile-error_log mobile-error_log-$NOW<br />
mv  mobile-access_log mobile-access_log-$NOW<br />
/etc/init.d/httpd graceful<br />
sleep 5<br />
tar -cvjf /opt/logbackup/logs-$NOW.bz2  mobile-error_log-$NOW mobile-access_log-$NOW<br />
scp mobile-access_log-$NOW domU-12-31-39-07-75-63:/clt20/uploads/mobilelog/<br />
rm -f mobile-error_log-$NOW mobile-access_log-$NOW</p>
<p>Remember we have exchanged the authentication key between the two servers.</p>
]]></content:encoded>
			<wfw:commentRss>http://satishgaudo.com/satblog/2009/10/27/shell-script-to-rotate-logs-between-remote-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux rsync command</title>
		<link>http://satishgaudo.com/satblog/2009/10/21/linux-rsync-command/</link>
		<comments>http://satishgaudo.com/satblog/2009/10/21/linux-rsync-command/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 14:41:17 +0000</pubDate>
		<dc:creator>satishgaudo</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://satishgaudo.com/satblog/?p=112</guid>
		<description><![CDATA[
			
				
			
		
Following command is used for remote syncing of a folder on two remote servers:
/usr/local/bin/rsync -avz -e ssh /opt/www/cms/imagedata/2009/oct/ webdoc@domU-12-31-39-03-09-20:/opt/www/clt20/imagedata/2009/oct/
To rsync a particular file use:
/usr/local/bin/rsync -avz -e ssh /opt/www/clt20/rss.xml webdoc@domU-12-31-39-03-09-20:/opt/www/clt20/
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2009%2F10%2F21%2Flinux-rsync-command%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2009%2F10%2F21%2Flinux-rsync-command%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Following command is used for remote syncing of a folder on two remote servers:</p>
<p>/usr/local/bin/rsync -avz -e ssh /opt/www/cms/imagedata/2009/oct/ webdoc@domU-12-31-39-03-09-20:/opt/www/clt20/imagedata/2009/oct/</p>
<p>To rsync a particular file use:</p>
<p>/usr/local/bin/rsync -avz -e ssh /opt/www/clt20/rss.xml webdoc@domU-12-31-39-03-09-20:/opt/www/clt20/</p>
]]></content:encoded>
			<wfw:commentRss>http://satishgaudo.com/satblog/2009/10/21/linux-rsync-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>crontab example</title>
		<link>http://satishgaudo.com/satblog/2009/10/21/crontab-example/</link>
		<comments>http://satishgaudo.com/satblog/2009/10/21/crontab-example/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 14:37:50 +0000</pubDate>
		<dc:creator>satishgaudo</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://satishgaudo.com/satblog/?p=110</guid>
		<description><![CDATA[
			
				
			
		
Here is the crontab code:
# start apache on reboot
@reboot mount -t ext3 /dev/sdf /opt/
@reboot /etc/init.d/httpd start
# start mysqld on reboot
@reboot /etc/init.d/mysqld start
*/10 * * * * /usr/bin/php /opt/www/cron/getlivestat.php
10 * * * *    /usr/bin/php /opt/www/cron/generaterss.php
25 14 * * * /opt/www/cron/rotatelogs.sh
*/02 * * * * sh /opt/www/cron/imagedata_upload.sh &#62;&#62; /opt/www/cron/imagedataoutput.log
To set crontab for a particular [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2009%2F10%2F21%2Fcrontab-example%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2009%2F10%2F21%2Fcrontab-example%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Here is the crontab code:<br />
# start apache on reboot<br />
@reboot mount -t ext3 /dev/sdf /opt/<br />
@reboot /etc/init.d/httpd start<br />
# start mysqld on reboot<br />
@reboot /etc/init.d/mysqld start<br />
*/10 * * * * /usr/bin/php /opt/www/cron/getlivestat.php<br />
10 * * * *    /usr/bin/php /opt/www/cron/generaterss.php<br />
25 14 * * * /opt/www/cron/rotatelogs.sh<br />
*/02 * * * * sh /opt/www/cron/imagedata_upload.sh &gt;&gt; /opt/www/cron/imagedataoutput.log</p>
<p>To set crontab for a particular user like webdoc, use command :<br />
crontab -e -u webdoc</p>
<p>Syntax Description:</p>
<table id="AutoNumber1" style="border-collapse: collapse; height: 160px;" border="0" cellspacing="7" cellpadding="0" width="433" bgcolor="#dbdbdb" bordercolor="#dbdbdb">
<tbody>
<tr>
<td width="100%">
<pre>*     *     *   *    *        command to be executed
-     -     -   -    -
|     |     |   |    |
|     |     |   |    +----- day of week (0 - 6) (Sunday=0)
|     |     |   +------- month (1 - 12)
|     |     +--------- day of        month (1 - 31)
|     +----------- hour (0 - 23)
+------------- min (0 - 59)</pre>
</td>
</tr>
</tbody>
</table>
<p>Example:<br />
1. Set a crontab to execute a php file everyday at 0:10 am:</p>
<p>10 0 * * * /usr/bin/php /opt/www/html/mpplmatrix/upd_database.php >>  /var/log/apache2/matrix_cron.log</p>
]]></content:encoded>
			<wfw:commentRss>http://satishgaudo.com/satblog/2009/10/21/crontab-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux command to find and replace a string from a file</title>
		<link>http://satishgaudo.com/satblog/2009/10/02/linux-command-to-find-and-replace-a-string-from-a-file/</link>
		<comments>http://satishgaudo.com/satblog/2009/10/02/linux-command-to-find-and-replace-a-string-from-a-file/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 07:09:28 +0000</pubDate>
		<dc:creator>satishgaudo</dc:creator>
				<category><![CDATA[Technology updates]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://satishgaudo.com/satblog/?p=101</guid>
		<description><![CDATA[
			
				
			
		
%s/\/images\//http:\/\/images.satishgaudo.com\/images\//g
%s/\/js\//http:\/\/images.satishgaudo.com\/js\//g
%s/\/css\//http:\/\/images.satishgaudo.com\/css\//g
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2009%2F10%2F02%2Flinux-command-to-find-and-replace-a-string-from-a-file%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsatishgaudo.com%2Fsatblog%2F2009%2F10%2F02%2Flinux-command-to-find-and-replace-a-string-from-a-file%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>%s/\/images\//http:\/\/images.satishgaudo.com\/images\//g</p>
<p>%s/\/js\//http:\/\/images.satishgaudo.com\/js\//g</p>
<p>%s/\/css\//http:\/\/images.satishgaudo.com\/css\//g</p>
]]></content:encoded>
			<wfw:commentRss>http://satishgaudo.com/satblog/2009/10/02/linux-command-to-find-and-replace-a-string-from-a-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
