<?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>elTecnoBlog &#187; Linux</title>
	<atom:link href="http://www.eltecnoblog.com/category/linux-eltecnoblog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eltecnoblog.com</link>
	<description>elTecnoBlog - Tecnología, comunicaciones, informática y un poquito de todo</description>
	<lastBuildDate>Wed, 16 Jun 2010 08:42:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Buscar links rotos en una web</title>
		<link>http://www.eltecnoblog.com/2010/06/16/buscar-links-rotos-en-una-web/</link>
		<comments>http://www.eltecnoblog.com/2010/06/16/buscar-links-rotos-en-una-web/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 08:42:42 +0000</pubDate>
		<dc:creator>guillem</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://www.eltecnoblog.com/?p=26</guid>
		<description><![CDATA[Vía diariolinux.com leo una receta interesante sobre como buscar enlaces rotos en una web mediante wget:
wget --spider &#160;--no-parent -r -o log.txt http://tuweb.com
En concreto, cada una de los parámetros funciona según sigue:
&#8211;spider: recorrer la web sin descargar nada.
-r: recursivo.
-o fichero: salida del comando (para que nos quede guardado en fichero)
–no-parent: no subirà a directorios padre.
]]></description>
			<content:encoded><![CDATA[<p>Vía <a href="http://diariolinux.com/2010/06/11/receta-como-obtener-listado-de-links-rotos/http://diariolinux.com/2010/06/11/receta-como-obtener-listado-de-links-rotos/">diariolinux.com</a> leo una receta interesante sobre como buscar enlaces rotos en una web mediante wget:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">--spider</span> &nbsp;<span style="color: #660033;">--no-parent</span> <span style="color: #660033;">-r</span> <span style="color: #660033;">-o</span> log.txt http:<span style="color: #000000; font-weight: bold;">//</span>tuweb.com</div></div>
<p>En concreto, cada una de los parámetros funciona según sigue:<br />
&#8211;spider: recorrer la web sin descargar nada.<br />
-r: recursivo.<br />
-o fichero: salida del comando (para que nos quede guardado en fichero)<br />
–no-parent: no subirà a directorios padre.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eltecnoblog.com/2010/06/16/buscar-links-rotos-en-una-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sustituir una cadena concreta en multiples archivos recursivamente</title>
		<link>http://www.eltecnoblog.com/2010/06/15/sustituir-una-cadena-concreta-en-multiples-archivos-recursivamente/</link>
		<comments>http://www.eltecnoblog.com/2010/06/15/sustituir-una-cadena-concreta-en-multiples-archivos-recursivamente/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 18:41:36 +0000</pubDate>
		<dc:creator>guillem</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cadena]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[reemplazar]]></category>
		<category><![CDATA[sustituir]]></category>

		<guid isPermaLink="false">http://www.eltecnoblog.com/?p=21</guid>
		<description><![CDATA[Pues hoy vamos a comentar algo parecido a lo que ya puse hace un tiempo pero concretando más. De hecho vamos a especificar el nombre del archivo y la cadena a encontrar:
grep -r &#8211;include=nombre_del_fichero -l &#8220;cadena_a_buscar&#8221; . &#124; xargs perl -pi.bak -e &#8217;s/cadena_a_buscar/cadena_que_reemplaza/g&#8217; 
Los nombres creo que son autoindicativos&#8230;  
además esto crea una copia [...]]]></description>
			<content:encoded><![CDATA[<p>Pues hoy vamos a comentar algo parecido a lo que ya puse hace un tiempo pero concretando más. De hecho vamos a especificar el nombre del archivo y la cadena a encontrar:</p>
<p>grep -r &#8211;include=nombre_del_fichero -l &#8220;cadena_a_buscar&#8221; . | xargs perl -pi.bak -e &#8217;s/cadena_a_buscar/cadena_que_reemplaza/g&#8217; </p>
<p>Los nombres creo que son autoindicativos&#8230; <img src='http://www.eltecnoblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>además esto crea una copia de seguridad por si nos equivocamos&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eltecnoblog.com/2010/06/15/sustituir-una-cadena-concreta-en-multiples-archivos-recursivamente/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>register_globals con mod_suphp</title>
		<link>http://www.eltecnoblog.com/2010/06/04/register_globals-con-mod_suphp/</link>
		<comments>http://www.eltecnoblog.com/2010/06/04/register_globals-con-mod_suphp/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 14:05:35 +0000</pubDate>
		<dc:creator>guillem</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[register_globals]]></category>

		<guid isPermaLink="false">http://www.eltecnoblog.com/?p=19</guid>
		<description><![CDATA[Aunque activar register_globals no es para nada una buena idea, sigue habiendo algunos maldi___ scripts por ahí que lo necesitan.
Como se hace en PHP5 en una instalación vía mod_suphp?
En la carpeta en cuestión creamos un fichero llamado php.ini con el texto &#8216;register_globals = 1&#8242; (sin las comillas lógicamente.
]]></description>
			<content:encoded><![CDATA[<p>Aunque activar register_globals no es para nada una buena idea, sigue habiendo algunos maldi___ scripts por ahí que lo necesitan.</p>
<p>Como se hace en PHP5 en una instalación vía mod_suphp?<br />
En la carpeta en cuestión creamos un fichero llamado <em>php.ini</em> con el texto &#8216;register_globals = 1&#8242; (sin las comillas lógicamente.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eltecnoblog.com/2010/06/04/register_globals-con-mod_suphp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replace string in multiple files</title>
		<link>http://www.eltecnoblog.com/2009/11/18/replace-string-in-multiple-files/</link>
		<comments>http://www.eltecnoblog.com/2009/11/18/replace-string-in-multiple-files/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 16:30:10 +0000</pubDate>
		<dc:creator>guillem</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.eltecnoblog.com/2009/11/18/replace-string-in-multiple-files/</guid>
		<description><![CDATA[To do a multiple file replace of a specified string, just run the following
perl -pi.bak -e &#8217;s/what to change/what to change to/g&#8217; *
This also makes a backup of the files, with extension .bak
If you just want to modify, for example, PHP files, use the same but at the end replace &#8216;*&#8217; with &#8216;*.php&#8217;
That&#8217;s all
]]></description>
			<content:encoded><![CDATA[<p>To do a multiple file replace of a specified string, just run the following</p>
<p>perl -pi.bak -e &#8217;s/what to change/what to change to/g&#8217; *</p>
<p>This also makes a backup of the files, with extension .bak</p>
<p>If you just want to modify, for example, PHP files, use the same but at the end replace &#8216;*&#8217; with &#8216;*.php&#8217;</p>
<p>That&#8217;s all</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eltecnoblog.com/2009/11/18/replace-string-in-multiple-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find inside files</title>
		<link>http://www.eltecnoblog.com/2009/11/04/find-inside-files/</link>
		<comments>http://www.eltecnoblog.com/2009/11/04/find-inside-files/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 17:04:19 +0000</pubDate>
		<dc:creator>guillem</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.eltecnoblog.com/2009/11/04/find-inside-files/</guid>
		<description><![CDATA[Easy way to find inside files on Linux:
grep -r &#8220;what youre looking for&#8221; *
Yup, that&#8217;s it!
]]></description>
			<content:encoded><![CDATA[<p>Easy way to find inside files on Linux:</p>
<p>grep -r &#8220;what youre looking for&#8221; *</p>
<p>Yup, that&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eltecnoblog.com/2009/11/04/find-inside-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test email routing with exim</title>
		<link>http://www.eltecnoblog.com/2009/11/04/test-email-routing-with-exim/</link>
		<comments>http://www.eltecnoblog.com/2009/11/04/test-email-routing-with-exim/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 17:01:55 +0000</pubDate>
		<dc:creator>guillem</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.eltecnoblog.com/2009/11/04/test-email-routing-with-exim/</guid>
		<description><![CDATA[This is just a quick note on how to check email router with exim:
exim -bt test@test.com
Where test@test.com is the address you&#8217;d like to test.
]]></description>
			<content:encoded><![CDATA[<p>This is just a quick note on how to check email router with exim:</p>
<p>exim -bt test@test.com</p>
<p>Where test@test.com is the address you&#8217;d like to test.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eltecnoblog.com/2009/11/04/test-email-routing-with-exim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
