<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~files/feed.xsl"?>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
<rss 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:feedpress="https://feed.press/xmlns" version="2.0">
  <channel>
    <feedpress:locale>en</feedpress:locale>
    <feedpress:newsletterId>bajolinux</feedpress:newsletterId>
    <atom:link rel="hub" href="http://feedpress.superfeedr.com/"/>
    <title>BajoLinux</title>
    <atom:link href="http://feedpress.me/bajolinux" rel="self" type="application/rss+xml"/>
    <link>http://bajolinux.com</link>
    <description>Un blog sobre linux, wordpress y programación.</description>
    <lastBuildDate>Sat, 06 Dec 2014 05:20:20 +0000</lastBuildDate>
    <language>es-ES</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <generator>http://wordpress.org/?v=4.0.1</generator>
    <item>
      <title>¿Que versión de Ubuntu estoy usando?</title>
      <link>http://bajolinux.com/que-version-de-ubuntu-estoy-usando/</link>
      <comments>http://bajolinux.com/que-version-de-ubuntu-estoy-usando/#comments</comments>
      <pubDate>Wed, 05 Nov 2014 21:23:58 +0000</pubDate>
      <dc:creator><![CDATA[marcos]]></dc:creator>
      <category><![CDATA[Linux]]></category>
      <category><![CDATA[consola]]></category>
      <category><![CDATA[ubuntu]]></category>
      <category><![CDATA[utilidades]]></category>
      <guid isPermaLink="false">http://bajolinux.com/?p=4719</guid>
      <description><![CDATA[<p>Si quieres saber que versión de Ubuntu estas usando, basta con abrir con la consola y usar el siguiente comando: lsb_release -a Te mostrará una salida parecida a la siguiente: No LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 14.04.1 LTSRelease: 14.04Codename: trusty Artículos relacionadosComandos básicos desde consola para Subversion (svn)Linux y la línea de comandos. [&#8230;]</p>
<p><a rel="nofollow" href="http://bajolinux.com/que-version-de-ubuntu-estoy-usando/">¿Que versión de Ubuntu estoy usando?</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></description>
      <content:encoded><![CDATA[<p>Si quieres saber que versión de Ubuntu estas usando, basta con abrir con la consola y usar el siguiente comando:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><ol><li>lsb_release -a</li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Te mostrará una salida parecida a la siguiente:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><ol><li>No LSB modules are available.</li><li>Distributor ID:Ubuntu</li><li>Description:Ubuntu 14.04.1 LTS</li><li>Release:<span style="color: #000000;">14.04</span></li><li>Codename:trusty</li></ol></div></pre><!--END_DEVFMTCODE--></p>

<div class="wp_rp_wrap  wp_rp_twocolumns" id="wp_rp_first"><div class="wp_rp_content"><h3 class="related_post_title">Artículos relacionados</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-1381" data-post-type="none" ><a href="http://bajolinux.com/comandos-basicos-desde-consola-para-subversion-svn/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/12.jpg" alt="Comandos básicos desde consola para Subversion (svn)" width="150" height="150" /></a><a href="http://bajolinux.com/comandos-basicos-desde-consola-para-subversion-svn/" class="wp_rp_title">Comandos básicos desde consola para Subversion (svn)</a></li><li data-position="1" data-poid="in-1363" data-post-type="none" ><a href="http://bajolinux.com/linux-como-redimensionar-imagenes-desde-la-consola/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/29.jpg" alt="Linux y la línea de comandos. Como redimensionar imágenes desde la consola." width="150" height="150" /></a><a href="http://bajolinux.com/linux-como-redimensionar-imagenes-desde-la-consola/" class="wp_rp_title">Linux y la línea de comandos. Como redimensionar imágenes desde la consola.</a></li><li data-position="2" data-poid="in-4381" data-post-type="none" ><a href="http://bajolinux.com/espacio-de-disco-desde-la-consola-en-linux/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2014/07/linux-terminal-150x150.jpg" alt="Espacio de disco desde la consola en linux" width="150" height="150" /></a><a href="http://bajolinux.com/espacio-de-disco-desde-la-consola-en-linux/" class="wp_rp_title">Espacio de disco desde la consola en linux</a></li><li data-position="3" data-poid="in-4110" data-post-type="none" ><a href="http://bajolinux.com/ubuntu-convertir-imagenes-de-formato-tif-a-jpg-con-imagemagick/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2014/04/ubuntu_convertir_imagenes_tif_to_jpeg-150x150.jpg" alt="Ubuntu, convertir imágenes de formato tif a jpg con imagemagick" width="150" height="150" /></a><a href="http://bajolinux.com/ubuntu-convertir-imagenes-de-formato-tif-a-jpg-con-imagemagick/" class="wp_rp_title">Ubuntu, convertir imágenes de formato tif a jpg con imagemagick</a></li><li data-position="4" data-poid="in-4007" data-post-type="none" ><a href="http://bajolinux.com/descarga-videos-youtube-ubuntu-linea-comandos/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2014/03/descargar-videos-youtube-ubuntu-youtube-dl-150x150.png" alt="Descargar videos de youtube en ubuntu desde la linea de comandos" width="150" height="150" /></a><a href="http://bajolinux.com/descarga-videos-youtube-ubuntu-linea-comandos/" class="wp_rp_title">Descargar videos de youtube en ubuntu desde la linea de comandos</a></li><li data-position="5" data-poid="in-1189" data-post-type="none" ><a href="http://bajolinux.com/cambia-la-fecha-y-hora-del-sistema-desde-la-linea-de-comandos/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2013/05/consola-150x150.png" alt="Cambia la fecha y hora del sistema desde la línea de comandos" width="150" height="150" /></a><a href="http://bajolinux.com/cambia-la-fecha-y-hora-del-sistema-desde-la-linea-de-comandos/" class="wp_rp_title">Cambia la fecha y hora del sistema desde la línea de comandos</a></li></ul></div></div>
<p><a rel="nofollow" href="http://bajolinux.com/que-version-de-ubuntu-estoy-usando/">¿Que versión de Ubuntu estoy usando?</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></content:encoded>
      <wfw:commentRss>http://bajolinux.com/que-version-de-ubuntu-estoy-usando/feed/</wfw:commentRss>
      <slash:comments>0</slash:comments>
    </item>
    <item>
      <title>5 elementos que debes conocer para programar en jQuery</title>
      <link>http://bajolinux.com/5-elementos-que-debes-conocer-para-programar-en-jquery/</link>
      <comments>http://bajolinux.com/5-elementos-que-debes-conocer-para-programar-en-jquery/#comments</comments>
      <pubDate>Tue, 29 Jul 2014 08:00:54 +0000</pubDate>
      <dc:creator><![CDATA[marcos]]></dc:creator>
      <category><![CDATA[Programación]]></category>
      <category><![CDATA[documentacion]]></category>
      <category><![CDATA[dom]]></category>
      <category><![CDATA[jquery]]></category>
      <category><![CDATA[selectores]]></category>
      <guid isPermaLink="false">http://bajolinux.com/?p=4486</guid>
      <description><![CDATA[<p>Además de ser una librería sencillamente fantástica, jQuery tiene una extensa documentación que merece la pena visitar. A continuación os dejo 5 páginas de documentación donde encontrar funciones de las mas usadas en el día a día de un programador de jQuery. Núcleo de jQuery Información sobre funciones avanzadas, incluyendo la función jQuery. Esta es [&#8230;]</p>
<p><a rel="nofollow" href="http://bajolinux.com/5-elementos-que-debes-conocer-para-programar-en-jquery/">5 elementos que debes conocer para programar en jQuery</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></description>
      <content:encoded><![CDATA[<p><a href="http://bajolinux.com/wp-content/uploads/2014/07/todays_latte_jquery.jpg"><img src="http://bajolinux.com/wp-content/uploads/2014/07/todays_latte_jquery-225x300.jpg" alt="Today&#039;s latte, jQuery." width="225" height="300" class="aligncenter size-medium wp-image-4498" /></a></p>
<p class="none">Además de ser una librería sencillamente fantástica, <a rel="nofollow" href="http://jquery.com/" title="jquery" target="_blank">jQuery</a> tiene una extensa documentación que merece la pena visitar.
</p>
<p class="none">A continuación os dejo 5 páginas de documentación donde <strong>encontrar funciones de las mas usadas</strong> en el día a día de un programador de jQuery.</p>
<h2>Núcleo de jQuery</h2>
<p class="none">
Información sobre <strong>funciones avanzadas</strong>, incluyendo la función jQuery. Esta es la función principal.</p>
<p class="none">Puede que no la hayas visto nunca, pues esta función suele representarse simplemente como $. Las siguientes sentencias son exactamente iguales:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Javascript"><div class="devcodeoverflow"><ol><li>$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li>jQuery<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p><a rel="nofollow" href="http://api.jquery.com/category/core/" title="jquery funciones del núcleo" target="_blank">http://api.jquery.com/category/core/<br />
</a></p>
<h2>Selectores</h2>
<p class="none">Aqui encontramos algunas de las <strong>funciones de selección</strong> mas útiles.</p>
<p class="none">Información de uso de selectores como :focus, :lt, :checked o :disabled.</p>
<p><a rel="nofollow" href="http://api.jquery.com/category/selectors/" title="jquery funciones de selección" target="_blank">http://api.jquery.com/category/selectors/<br />
</a></p>
<h2>Atributos</h2>
<p class="none">De lo mas usado. Siempre será necesario añadir o eliminar una clase a un elemento, o comprobar si contiene un atributo determinado.</p>
<p class="none">Las funciones que encontrarás en este apartado son tan conocidas como:</p>
<ul>
<li>.addClass()</li>
<li>.attr()</li>
<li>.hasClass()</li>
<li>.html()</li>
<li>.prop()</li>
<li>.removeAttr()</li>
<li>.removeClass()</li>
<li>.removeProp()</li>
<li>.toggleClass()</li>
<li>.val()</li>
</ul>
<p><a rel="nofollow" href="http://api.jquery.com/category/attributes/" title="jquery funciones de atributos" target="_blank">http://api.jquery.com/category/attributes/<br />
</a></p>
<h2>Recorrido y búsqueda de elementos</h2>
<p class="none">Una de las características por las que nos encanta jQuery es la de permitir <strong>recorrer el DOM y buscar elementos</strong> de una forma sencilla.</p>
<p class="none">En esta sección encontrarás la información necesaria para manejar funciones tan útiles como .find() o .each().</p>
<p><a rel="nofollow" href="http://api.jquery.com/category/traversing/" title="jquery funciones de recorrido" target="_blank">http://api.jquery.com/category/traversing/<br />
</a></p>
<h2>Manipulación del Dom</h2>
<p class="none">Bien, ya hemos visto como recorrer el modelo de objetos del documento (DOM). Ahora lo que queremos es modificarlo. En esta sección encontraras
<p class="none">funciones para modificar el DOM.</p>
<p class="none">.insertAfter(), .insertBefore(), .html() o .clone() son algunas de las funciones indispensables que detallata esta sección.</p>
<p><a rel="nofollow" href="http://api.jquery.com/category/manipulation/" title="jquery funciones de manipulación" target="_blank">http://api.jquery.com/category/manipulation/</a></p>

<div class="wp_rp_wrap  wp_rp_twocolumns" ><div class="wp_rp_content"><h3 class="related_post_title">Artículos relacionados</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-245" data-post-type="none" ><a href="http://bajolinux.com/crear-tablas-dinamicas-con-javascript/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/8.jpg" alt="Crear Tablas dinámicas con javascript" width="150" height="150" /></a><a href="http://bajolinux.com/crear-tablas-dinamicas-con-javascript/" class="wp_rp_title">Crear Tablas dinámicas con javascript</a></li><li data-position="1" data-poid="in-1668" data-post-type="none" ><a href="http://bajolinux.com/una-estructura-sencilla-para-crear-un-plugin-jquery/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/8.jpg" alt="Una estructura sencilla para crear un plugin jQuery" width="150" height="150" /></a><a href="http://bajolinux.com/una-estructura-sencilla-para-crear-un-plugin-jquery/" class="wp_rp_title">Una estructura sencilla para crear un plugin jQuery</a></li><li data-position="2" data-poid="in-3161" data-post-type="none" ><a href="http://bajolinux.com/crear-tablas-dinamicas-con-jquery/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/9.jpg" alt="Crear tablas dinámicas con jQuery" width="150" height="150" /></a><a href="http://bajolinux.com/crear-tablas-dinamicas-con-jquery/" class="wp_rp_title">Crear tablas dinámicas con jQuery</a></li><li data-position="3" data-poid="in-2977" data-post-type="none" ><a href="http://bajolinux.com/lightbox-magnific-popup-jquery/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/11.jpg" alt="Popup tipo Lightbox con jQuery y Magnific Popup" width="150" height="150" /></a><a href="http://bajolinux.com/lightbox-magnific-popup-jquery/" class="wp_rp_title">Popup tipo Lightbox con jQuery y Magnific Popup</a></li><li data-position="4" data-poid="in-1732" data-post-type="none" ><a href="http://bajolinux.com/usando-jquery-para-llamadas-ajax/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/21.jpg" alt="Usando jQuery para llamadas ajax." width="150" height="150" /></a><a href="http://bajolinux.com/usando-jquery-para-llamadas-ajax/" class="wp_rp_title">Usando jQuery para llamadas ajax.</a></li><li data-position="5" data-poid="in-2243" data-post-type="none" ><a href="http://bajolinux.com/solucion-error-jquery-link-problem-devformatter/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2012/07/error_DevFormatter-300x2081-150x150.gif" alt="Solución al error &#8220;jQuery link problem. Active the link on DevFormatter config page&#8221;" width="150" height="150" /></a><a href="http://bajolinux.com/solucion-error-jquery-link-problem-devformatter/" class="wp_rp_title">Solución al error &#8220;jQuery link problem. Active the link on DevFormatter config page&#8221;</a></li></ul></div></div>
<p><a rel="nofollow" href="http://bajolinux.com/5-elementos-que-debes-conocer-para-programar-en-jquery/">5 elementos que debes conocer para programar en jQuery</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></content:encoded>
      <wfw:commentRss>http://bajolinux.com/5-elementos-que-debes-conocer-para-programar-en-jquery/feed/</wfw:commentRss>
      <slash:comments>0</slash:comments>
    </item>
    <item>
      <title>Inyección SQL automatizada desde la línea de comandos con The Mole</title>
      <link>http://bajolinux.com/inyeccion-sql-automatizada-desde-la-linea-de-comandos-con-the-mole/</link>
      <comments>http://bajolinux.com/inyeccion-sql-automatizada-desde-la-linea-de-comandos-con-the-mole/#comments</comments>
      <pubDate>Thu, 17 Jul 2014 08:00:38 +0000</pubDate>
      <dc:creator><![CDATA[marcos]]></dc:creator>
      <category><![CDATA[Seguridad]]></category>
      <category><![CDATA[auditoria]]></category>
      <category><![CDATA[herramientas]]></category>
      <category><![CDATA[inyeccion]]></category>
      <category><![CDATA[sql]]></category>
      <category><![CDATA[the mole]]></category>
      <guid isPermaLink="false">http://bajolinux.com/?p=4266</guid>
      <description><![CDATA[<p>The Mole es una herramienta de línea de comandos para la explotación automática de páginas web mediante inyección SQL. Una de las posibilidades de esta herramienta es la de auditar una aplicación web para descubrir vulnerabilidades relacionadas con inyección SQL que podamos sufrir. Recordar que otro uso que le demos no es precisamente legal. Características Soporte [&#8230;]</p>
<p><a rel="nofollow" href="http://bajolinux.com/inyeccion-sql-automatizada-desde-la-linea-de-comandos-con-the-mole/">Inyección SQL automatizada desde la línea de comandos con The Mole</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></description>
      <content:encoded><![CDATA[<p><strong><a title="the mole" rel="nofollow" href="http://themole.sourceforge.net/" target="_blank">The Mole</a></strong> es una herramienta de línea de comandos para la <strong>explotación</strong> automática de páginas web mediante <strong>inyección <a title="sql" rel="nofollow" href="http://www.w3schools.com/sql/" target="_blank">SQL</a>.</strong></p>
<p>Una de las posibilidades de esta herramienta es la de <strong>auditar</strong> una aplicación web para descubrir vulnerabilidades relacionadas con <strong>inyección <a title="sql" rel="nofollow" href="http://www.w3schools.com/sql/" target="_blank">SQL</a> </strong>que podamos sufrir. Recordar que otro uso que le demos no es precisamente legal.</p>
<h2>Características</h2>
<ul>
<li>Soporte para <strong>MySQL, Postgres, Oracle y <span id="IL_AD9" class="IL_AD">SQL Server</span></strong></li>
<li>Interfaz de <strong>línea de comandos.</strong></li>
<li><strong>Autocompletado</strong> en comandos, argumentos de comandos y tablas y nombres de columnas en bases de datos.</li>
<li><strong>Inyección SQL </strong>automática e inyección SQL ciega. Utiliza la técnica de unión o técnicas booleanas.</li>
<li><strong>Inyección SQL</strong> en GET, POST y COOKIES.</li>
<li>Soporte para filtros para <strong>eludir reglas IPS/IDS</strong> utilizando filtros genéricos.</li>
<li>Posibilidad de crear nuevos filtros.</li>
</ul>
<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='800' height='480' src='http://www.youtube.com/embed/3ewE-fKxgos?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0' allowfullscreen='true'></iframe></span></p>
<h2>Descargar The Mole</h2>
<p><a title="the mole windows" rel="nofollow" href="http://sourceforge.net/projects/themole/files/themole-0.2.6/themole-0.2.6-win32.zip/download" target="_blank">Windows 32 Bit</a>, <a title="the mole tarball-gzip" rel="nofollow" href="http://sourceforge.net/projects/themole/files/themole-0.2.6/themole-0.2.6-lin-src.tar.gz/download" target="_blank">Tarball-gzip</a></p>
<p><a title="the mole tutorial" rel="nofollow" href="http://themole.sourceforge.net/?q=tutorial" target="_blank">Tutorial de The Mole</a></p>

<div class="wp_rp_wrap  wp_rp_twocolumns" ><div class="wp_rp_content"><h3 class="related_post_title">Artículos relacionados</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-4007" data-post-type="none" ><a href="http://bajolinux.com/descarga-videos-youtube-ubuntu-linea-comandos/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2014/03/descargar-videos-youtube-ubuntu-youtube-dl-150x150.png" alt="Descargar videos de youtube en ubuntu desde la linea de comandos" width="150" height="150" /></a><a href="http://bajolinux.com/descarga-videos-youtube-ubuntu-linea-comandos/" class="wp_rp_title">Descargar videos de youtube en ubuntu desde la linea de comandos</a></li><li data-position="1" data-poid="in-1613" data-post-type="none" ><a href="http://bajolinux.com/tutorial-de-blind-sql-injection/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2012/06/sql_injection-150x150.jpg" alt="Tutorial de Blind Sql Injection" width="150" height="150" /></a><a href="http://bajolinux.com/tutorial-de-blind-sql-injection/" class="wp_rp_title">Tutorial de Blind Sql Injection</a></li><li data-position="2" data-poid="in-579" data-post-type="none" ><a href="http://bajolinux.com/siete-ocasiones-para-usar-una-base-de-datos-sqlite/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/30.jpg" alt="Siete ocasiones para usar una base de datos SQLite" width="150" height="150" /></a><a href="http://bajolinux.com/siete-ocasiones-para-usar-una-base-de-datos-sqlite/" class="wp_rp_title">Siete ocasiones para usar una base de datos SQLite</a></li><li data-position="3" data-poid="in-983" data-post-type="none" ><a href="http://bajolinux.com/actualiza-tus-aplicaciones-en-windows-de-una-forma-facil/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/23.jpg" alt="Actualiza tus aplicaciones en windows de una forma fácil" width="150" height="150" /></a><a href="http://bajolinux.com/actualiza-tus-aplicaciones-en-windows-de-una-forma-facil/" class="wp_rp_title">Actualiza tus aplicaciones en windows de una forma fácil</a></li><li data-position="4" data-poid="in-493" data-post-type="none" ><a href="http://bajolinux.com/crea-un-cliente-de-webservice-en-php-con-la-libreria-nusoap/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/20.jpg" alt="Como crear un cliente para un servicio web en PHP con la librería NuSoap." width="150" height="150" /></a><a href="http://bajolinux.com/crea-un-cliente-de-webservice-en-php-con-la-libreria-nusoap/" class="wp_rp_title">Como crear un cliente para un servicio web en PHP con la librería NuSoap.</a></li><li data-position="5" data-poid="in-4110" data-post-type="none" ><a href="http://bajolinux.com/ubuntu-convertir-imagenes-de-formato-tif-a-jpg-con-imagemagick/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2014/04/ubuntu_convertir_imagenes_tif_to_jpeg-150x150.jpg" alt="Ubuntu, convertir imágenes de formato tif a jpg con imagemagick" width="150" height="150" /></a><a href="http://bajolinux.com/ubuntu-convertir-imagenes-de-formato-tif-a-jpg-con-imagemagick/" class="wp_rp_title">Ubuntu, convertir imágenes de formato tif a jpg con imagemagick</a></li></ul></div></div>
<p><a rel="nofollow" href="http://bajolinux.com/inyeccion-sql-automatizada-desde-la-linea-de-comandos-con-the-mole/">Inyección SQL automatizada desde la línea de comandos con The Mole</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></content:encoded>
      <wfw:commentRss>http://bajolinux.com/inyeccion-sql-automatizada-desde-la-linea-de-comandos-con-the-mole/feed/</wfw:commentRss>
      <slash:comments>0</slash:comments>
    </item>
    <item>
      <title>Vulnerabilidad WordPress en TimThumb y MailPoet</title>
      <link>http://bajolinux.com/vulnerabilidad-wordpress-en-timthumb-y-mailpoet/</link>
      <comments>http://bajolinux.com/vulnerabilidad-wordpress-en-timthumb-y-mailpoet/#comments</comments>
      <pubDate>Thu, 10 Jul 2014 15:00:57 +0000</pubDate>
      <dc:creator><![CDATA[marcos]]></dc:creator>
      <category><![CDATA[Wordpress]]></category>
      <category><![CDATA[mailpoet]]></category>
      <category><![CDATA[plugin]]></category>
      <category><![CDATA[seguridad]]></category>
      <category><![CDATA[timthumb]]></category>
      <category><![CDATA[vulnerabilidad]]></category>
      <guid isPermaLink="false">http://bajolinux.com/?p=4377</guid>
      <description><![CDATA[<p>Debido a su amplia difusión, una vulnerabilidad en WordPress puede afectar a miles de instalaciones. Por eso es importante para los administradores estar al tanto de las vulnerabilidades que puedan afectar al sistema para poner solución lo mas pronto posible. TimThumb Si tu tema o plugins utilizan el script TimThumb estas expuesto a un vulnerabilidad [&#8230;]</p>
<p><a rel="nofollow" href="http://bajolinux.com/vulnerabilidad-wordpress-en-timthumb-y-mailpoet/">Vulnerabilidad WordPress en TimThumb y MailPoet</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></description>
      <content:encoded><![CDATA[<p>Debido a su amplia difusión, una vulnerabilidad en WordPress puede afectar a miles de instalaciones.</p>
<p>Por eso es importante para los administradores estar al tanto de las vulnerabilidades que puedan afectar al sistema para poner solución lo mas pronto posible.</p>
<h2>TimThumb</h2>
<p>Si tu tema o plugins utilizan el script TimThumb estas expuesto a un vulnerabilidad del tipo Remote File Inclusion. Por tanto, permitiría la inclusión de ficheros en tu servidor. Bastante chungo.</p>
<p>Hasta que una actualización arregle el problema, se recomienda buscar en el fichero timthumb.php la siguiente linea:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="PHP"><div class="devcodeoverflow"><ol><li><span style="color: #990000;">define</span> <span style="color: #009900;">&#40;</span>‘WEBSHOT_ENABLED’<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Y sustituir su valor a &#8216;false&#8217;.</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="PHP"><div class="devcodeoverflow"><ol><li><span style="color: #990000;">define</span> <span style="color: #009900;">&#40;</span>‘WEBSHOT_ENABLED’<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<h2>MailPoet</h2>
<p><a href="http://bajolinux.com/wp-content/uploads/2014/07/mailpoet.jpg"><img class="aligncenter wp-image-4414" src="http://bajolinux.com/wp-content/uploads/2014/07/mailpoet-300x97.jpg" alt="mailpoet" width="600" height="194" /></a></p>
<p>El plugin para la gestión de newsletter <a title="mailpoet " rel="nofollow" href="http://blog.sucuri.net/2014/07/remote-file-upload-vulnerability-on-mailpoet-wysija-newsletters.html" target="_blank">presenta una grave vulneralibidad</a> de la que aun no tenemos demasiada información, así que mientras se arregla es aconsejable no usarlo si no es estrictamente necesario.</p>
<p>MailPoet realizó su actualización el 1 de julio.</p>

<div class="wp_rp_wrap  wp_rp_twocolumns" ><div class="wp_rp_content"><h3 class="related_post_title">Artículos relacionados</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-1743" data-post-type="none" ><a href="http://bajolinux.com/crea-tu-proprio-plugin-jquery-para-realizar-un-efecto-de-sombreado/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2012/06/wpid-screenshot-13404520811672-150x150.png" alt="Plugin jQuery para realizar un efecto de sombreado" width="150" height="150" /></a><a href="http://bajolinux.com/crea-tu-proprio-plugin-jquery-para-realizar-un-efecto-de-sombreado/" class="wp_rp_title">Plugin jQuery para realizar un efecto de sombreado</a></li><li data-position="1" data-poid="in-1668" data-post-type="none" ><a href="http://bajolinux.com/una-estructura-sencilla-para-crear-un-plugin-jquery/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/8.jpg" alt="Una estructura sencilla para crear un plugin jQuery" width="150" height="150" /></a><a href="http://bajolinux.com/una-estructura-sencilla-para-crear-un-plugin-jquery/" class="wp_rp_title">Una estructura sencilla para crear un plugin jQuery</a></li><li data-position="2" data-poid="in-1569" data-post-type="none" ><a href="http://bajolinux.com/instalando-flash-player-en-fedora-16/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2012/04/fedora16-150x150.jpg" alt="Instalando Flash Player en Fedora 16" width="150" height="150" /></a><a href="http://bajolinux.com/instalando-flash-player-en-fedora-16/" class="wp_rp_title">Instalando Flash Player en Fedora 16</a></li><li data-position="3" data-poid="in-3002" data-post-type="none" ><a href="http://bajolinux.com/alerta-de-seguridad-en-wordpress-satan-php/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2013/05/wpid-IMG_20130512_114109-150x150.jpg" alt="Alerta de seguridad en WordPress: satan.php" width="150" height="150" /></a><a href="http://bajolinux.com/alerta-de-seguridad-en-wordpress-satan-php/" class="wp_rp_title">Alerta de seguridad en WordPress: satan.php</a></li><li data-position="4" data-poid="in-246" data-post-type="none" ><a href="http://bajolinux.com/convocatoria-para-cursos-gratuitos-de-seguridad-antihacking/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/19.jpg" alt="Convocatoria para cursos Gratuitos de Seguridad Antihacking" width="150" height="150" /></a><a href="http://bajolinux.com/convocatoria-para-cursos-gratuitos-de-seguridad-antihacking/" class="wp_rp_title">Convocatoria para cursos Gratuitos de Seguridad Antihacking</a></li><li data-position="5" data-poid="in-3865" data-post-type="none" ><a href="http://bajolinux.com/openpgp-en-gmail-con-la-extension-mymail-crypt-de-chrome-security-default/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/3.jpg" alt="OpenPGP en Gmail con la extensión mymail-crypt de Chrome ~ Security By Default" width="150" height="150" /></a><a href="http://bajolinux.com/openpgp-en-gmail-con-la-extension-mymail-crypt-de-chrome-security-default/" class="wp_rp_title">OpenPGP en Gmail con la extensión mymail-crypt de Chrome ~ Security By Default</a></li></ul></div></div>
<p><a rel="nofollow" href="http://bajolinux.com/vulnerabilidad-wordpress-en-timthumb-y-mailpoet/">Vulnerabilidad WordPress en TimThumb y MailPoet</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></content:encoded>
      <wfw:commentRss>http://bajolinux.com/vulnerabilidad-wordpress-en-timthumb-y-mailpoet/feed/</wfw:commentRss>
      <slash:comments>0</slash:comments>
    </item>
    <item>
      <title>Filtrar columnas en jQuery DataTables</title>
      <link>http://bajolinux.com/filtrar-columnas-en-jquery-datatables/</link>
      <comments>http://bajolinux.com/filtrar-columnas-en-jquery-datatables/#comments</comments>
      <pubDate>Wed, 09 Jul 2014 14:14:18 +0000</pubDate>
      <dc:creator><![CDATA[marcos]]></dc:creator>
      <category><![CDATA[Programación]]></category>
      <category><![CDATA[datatable]]></category>
      <category><![CDATA[jquery]]></category>
      <category><![CDATA[utilidades]]></category>
      <guid isPermaLink="false">http://bajolinux.com/?p=4393</guid>
      <description><![CDATA[<p>Ya hemos hablado antes de jQuery dataTables.  En este artículo vamos a ver como realizar el filtrado de datos de las columnas creadas en nuestras dataTables. El dataTable Lo primero que necesitamos es crear la tabla. Para este ejemplo vamos a usar un dataTable creado directamente en html, para una mayor claridad en nuestro ejemplo. ¿Que [&#8230;]</p>
<p><a rel="nofollow" href="http://bajolinux.com/filtrar-columnas-en-jquery-datatables/">Filtrar columnas en jQuery DataTables</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></description>
      <content:encoded><![CDATA[<p>Ya hemos hablado antes de<a title="Datatables y jQuery: Datatable desde una tabla html" href="http://bajolinux.com/datatables-jquery-datatable-desde-tabla-html/"> jQuery dataTables</a>.  En este artículo vamos a ver como realizar el <strong>filtrado de datos de las columnas</strong> creadas en nuestras <strong>dataTables</strong>.</p>
<h2>El dataTable</h2>
<p>Lo primero que necesitamos es crear la tabla. Para este ejemplo vamos a usar un <strong>dataTable creado directamente en html</strong>, para una mayor claridad en nuestro ejemplo.</p>
<h2>¿Que necesitamos?</h2>
<p>Básicamente, incluir en nuestra página los script necesarios, que son:</p>
<ul>
<li>jQuery</li>
<li>jQuery dataTables</li>
<li>jquery dataTables Column Filter (necesario para crear el filtrado)</li>
</ul>
<p>Todos estos script junto a css, etc, están en el ejemplo de descarga al final de este artículo.</p>
<p>Una vez tenemos estos script, vamos a <strong>crear una página Html</strong> con el siguiente código:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="HTML"><div class="devcodeoverflow"><ol><li><span style="color: #009900;">&lt;!doctype html&gt;</span></li><li><span style="color: #009900;">&lt;html <span style="color: #000066;">lang</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;es&quot;</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">head</span>&gt;</span></li><li><span style="color: #009900;">&lt;meta <span style="color: #000066;">charset</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;utf-8&quot;</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">title</span>&gt;</span>Bajolinux - Ejemplo datatables<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">title</span>&gt;</span></li><li><span style="color: #009900;">&lt;meta <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;description&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bajolinux - ejemplo datatables&quot;</span>&gt;</span></li><li><span style="color: #009900;">&lt;meta <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;author&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://bajolinux.com&quot;</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000066;">link</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;css/styles.css&quot;</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000066;">link</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;css/demo_table.css&quot;</span>&gt;</span></li><li><span style="color: #808080; font-style: italic;">&lt;!--[if lt IE 9]&gt;</span></li><li><span style="color: #808080; font-style: italic;">&lt;script src=&quot;http://html5shiv.googlecode.com/svn/trunk/html5.js&quot;&gt;&lt;/script&gt;</span></li><li><span style="color: #808080; font-style: italic;">&lt;![endif]--&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">head</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">body</span>&gt;</span></li><li><span style="color: #009900;">&lt;table <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;example&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;display&quot;</span> <span style="color: #000066;">cellspacing</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;100%&quot;</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">thead</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">th</span>&gt;</span>Name<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">th</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">th</span>&gt;</span>Position<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">th</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">th</span>&gt;</span>Office<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">th</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">th</span>&gt;</span>Age<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">th</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">th</span>&gt;</span>Start date<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">th</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">th</span>&gt;</span>Salary<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">th</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">thead</span>&gt;</span></li><li>&nbsp;</li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tfoot</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">th</span>&gt;</span>Name<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">th</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">th</span>&gt;</span>Position<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">th</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">th</span>&gt;</span>Office<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">th</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">th</span>&gt;</span>Age<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">th</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">th</span>&gt;</span>Start date<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">th</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">th</span>&gt;</span>Salary<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">th</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tfoot</span>&gt;</span></li><li>&nbsp;</li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>Tiger Nixon<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>System Architect<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>Edinburgh<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>61<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>2011/04/25<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>320<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>Garrett Winters<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>Accountant<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>Tokyo<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>63<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>2011/07/25<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>170<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>Ashton Cox<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>Junior Technical Author<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>San Francisco<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>66<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>2009/01/12<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>860<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>Cedric Kelly<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>Senior Javascript Developer<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>Edinburgh<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>22<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>2012/03/29<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>433<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>Charde Marshall<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>Regional Director<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>San Francisco<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>36<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>2008/10/16<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>470<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">table</span>&gt;</span></li><li>&nbsp;</li><li><span style="color: #009900;">&lt;script <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/jquery-1.4.4.min.js&quot;</span>&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></li><li><span style="color: #009900;">&lt;script <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/jquery.dataTables.js&quot;</span>&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></li><li><span style="color: #009900;">&lt;script <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/jquery.dataTables.columnFilter.js&quot;</span>&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></li><li><span style="color: #009900;">&lt;script <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/script.js&quot;</span>&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">html</span>&gt;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Entre los archivos incluidos está el javascript <strong>script.js</strong>.</p>
<p>Este archivo <strong>contiene el código que usaremos para crear el filtrado de columnas</strong>.</p>
<p>Para crear un filtrado por columna que añada al final de nuestro dataTable las cajas de texto necesarias para realizar el filtrado, <strong>el archivo script.js tendrá el siguiente contenido</strong>:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Javascript"><div class="devcodeoverflow"><ol><li>$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></li><li>$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#example'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">dataTable</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">columnFilter</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li><span style="color: #009900;">&#125;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Tan sencillo como añadir <strong>.columnFilter()</strong> al crear nuestro dataTable.</p>
<p>Esta opción es la más sencilla.<strong> Se encargará de crear las entradas de texto necesarias</strong> para realizar el filtrado al final del dataTable.</p>
<h2>Crea tus propias entradas para filtrar</h2>
<p>Para personalizar estas opciones puedes crear tu propias entradas de texto.</p>
<p>En el código de ejemplo a continuación creamos <strong>nuestras propias entradas para filtrar por nombre, edad y salario.</strong></p>
<p>Para ello, añade el siguiente código al html, justo después de crear la tabla y antes de incluir los script.</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="HTML"><div class="devcodeoverflow"><ol><li><span style="color: #009900;">&lt;div <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;boxFilter&quot;</span>&gt;</span></li><li> <span style="color: #009900;">&lt;div <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;labelFilter&quot;</span>&gt;</span>Filtrar por : <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></li><li> <span style="color: #009900;">&lt;div <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nameFilter&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></li><li> <span style="color: #009900;">&lt;div <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ageFilter&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span> </li><li> <span style="color: #009900;">&lt;div <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;salaryFilter&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span> </li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Y ahora, modificamos el contenido de script.js por el siguiente:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Javascript"><div class="devcodeoverflow"><ol><li>$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></li><li>    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#example'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">dataTable</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">columnFilter</span><span style="color: #009900;">&#40;</span></li><li> <span style="color: #009900;">&#123;</span>aoColumns<span style="color: #339933;">:</span><span style="color: #009900;">&#91;</span></li><li><span style="color: #009900;">&#123;</span> sSelector<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;#nameFilter&quot;</span><span style="color: #339933;">,</span> type<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;select&quot;</span>  <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span></li><li><span style="color: #009900;">&#123;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">,</span> </li><li><span style="color: #009900;">&#123;</span> sSelector<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;#ageFilter&quot;</span><span style="color: #339933;">,</span> type<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;select&quot;</span><span style="color: #339933;">,</span> values <span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;33&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;66&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;59&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span></li><li><span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">,</span> </li><li><span style="color: #009900;">&#123;</span> sSelector<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;#salaryFilter&quot;</span><span style="color: #339933;">,</span> type<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;number-range&quot;</span><span style="color: #009900;">&#125;</span></li><li> <span style="color: #009900;">&#93;</span><span style="color: #009900;">&#125;</span></li><li> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Añadimos al método <strong>columnFilter</strong> los siguientes valores.</p>
<ul>
<li>sSelector: &#8220;#nameFilter&#8221;, type:&#8221;select&#8221;</li>
<li>sSelector: &#8220;#ageFilter&#8221;, type:&#8221;select&#8221;, values : [&#8220;33&#8243;, &#8220;66&#8221;, &#8220;59&#8221;]</li>
<li>sSelector: &#8220;#salaryFiter&#8221;, type:&#8221;number-range&#8221;</li>
</ul>
<p>Fijate que <strong>añadimos los valores en la posición que representa a la columna</strong> que queremos tratar.</p>
<p>El resto de columnas las incluimos<strong> con {} o null</strong> para cada una de ellas.</p>
<p>La <strong>diferencia</strong> entre usar {} o null está en que al usar el valor null no se creará ninguna caja para el filtrado al final del tabla data. Mientras que al usar {} si se creará. Depende de lo que prefieras.</p>
<p>Con esto, el script de dataTables column filter se encargará de crear las entradas de texto para realizar el filtrado.</p>
<p>Todos los archivos necesarios puedes descargarlos a continuación.</p>

<div class="wp_rp_wrap  wp_rp_twocolumns" ><div class="wp_rp_content"><h3 class="related_post_title">Artículos relacionados</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-3416" data-post-type="none" ><a href="http://bajolinux.com/datatables-jquery-datatable-desde-tabla-html/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2013/06/datatables-150x150.png" alt="Datatables y jQuery: Datatable desde una tabla html" width="150" height="150" /></a><a href="http://bajolinux.com/datatables-jquery-datatable-desde-tabla-html/" class="wp_rp_title">Datatables y jQuery: Datatable desde una tabla html</a></li><li data-position="1" data-poid="in-3547" data-post-type="none" ><a href="http://bajolinux.com/datatables-jquery-datatable-desde-array-javascript/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2013/06/datatables-150x150.png" alt="Datatables y jQuery: Datatable desde un array javascript" width="150" height="150" /></a><a href="http://bajolinux.com/datatables-jquery-datatable-desde-array-javascript/" class="wp_rp_title">Datatables y jQuery: Datatable desde un array javascript</a></li><li data-position="2" data-poid="in-1317" data-post-type="none" ><a href="http://bajolinux.com/1317/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2012/02/javascript-150x150.png" alt="Como empaquetar código javascript" width="150" height="150" /></a><a href="http://bajolinux.com/1317/" class="wp_rp_title">Como empaquetar código javascript</a></li><li data-position="3" data-poid="in-2977" data-post-type="none" ><a href="http://bajolinux.com/lightbox-magnific-popup-jquery/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/11.jpg" alt="Popup tipo Lightbox con jQuery y Magnific Popup" width="150" height="150" /></a><a href="http://bajolinux.com/lightbox-magnific-popup-jquery/" class="wp_rp_title">Popup tipo Lightbox con jQuery y Magnific Popup</a></li><li data-position="4" data-poid="in-253" data-post-type="none" ><a href="http://bajolinux.com/envio-de-formularios-post-con-javascript-mediante-ajax-y-jquery-2/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/4.jpg" alt="Envío de formularios POST con Javascript mediante Ajax y JQuery." width="150" height="150" /></a><a href="http://bajolinux.com/envio-de-formularios-post-con-javascript-mediante-ajax-y-jquery-2/" class="wp_rp_title">Envío de formularios POST con Javascript mediante Ajax y JQuery.</a></li><li data-position="5" data-poid="in-4348" data-post-type="none" ><a href="http://bajolinux.com/carga-dinamica-de-javascript-con-jquery/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2013/08/javascript-logo-150x150.jpeg" alt="Carga dinámica de javascript con jQuery" width="150" height="150" /></a><a href="http://bajolinux.com/carga-dinamica-de-javascript-con-jquery/" class="wp_rp_title">Carga dinámica de javascript con jQuery</a></li></ul></div></div>
<p><a rel="nofollow" href="http://bajolinux.com/filtrar-columnas-en-jquery-datatables/">Filtrar columnas en jQuery DataTables</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></content:encoded>
      <wfw:commentRss>http://bajolinux.com/filtrar-columnas-en-jquery-datatables/feed/</wfw:commentRss>
      <slash:comments>0</slash:comments>
    </item>
    <item>
      <title>Espacio de disco desde la consola en linux</title>
      <link>http://bajolinux.com/espacio-de-disco-desde-la-consola-en-linux/</link>
      <comments>http://bajolinux.com/espacio-de-disco-desde-la-consola-en-linux/#comments</comments>
      <pubDate>Tue, 08 Jul 2014 21:27:23 +0000</pubDate>
      <dc:creator><![CDATA[marcos]]></dc:creator>
      <category><![CDATA[Linux]]></category>
      <category><![CDATA[comando]]></category>
      <category><![CDATA[consola]]></category>
      <category><![CDATA[disco]]></category>
      <category><![CDATA[espacio]]></category>
      <category><![CDATA[terminal]]></category>
      <guid isPermaLink="false">http://bajolinux.com/?p=4381</guid>
      <description><![CDATA[<p>¿Cuanto espacio de disco tenemos ocupado? ¿Cuanto libre?. Si quieres consultar el tamaño de disco desde la consola, basta con usar el comando &#8220;df&#8221;. El comando &#8220;df&#8221; nos informa en su salida estandar de: Sistema de ficheros o unidad de disco Tamaño del disco Cantidad de espacio usados Cantidad de espacio disponible % de espacio [&#8230;]</p>
<p><a rel="nofollow" href="http://bajolinux.com/espacio-de-disco-desde-la-consola-en-linux/">Espacio de disco desde la consola en linux</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></description>
      <content:encoded><![CDATA[<p><strong>¿Cuanto espacio de disco tenemos ocupado?</strong> ¿Cuanto libre?. Si quieres consultar el tamaño de disco desde la consola, basta con usar el<strong> comando &#8220;df&#8221;.</strong></p>
<p>El <strong>comando &#8220;df&#8221;</strong> nos informa en su salida estandar de:</p>
<ul>
<li>Sistema de ficheros o unidad de disco</li>
<li>Tamaño del disco</li>
<li>Cantidad de espacio usados</li>
<li>Cantidad de espacio disponible</li>
<li>% de espacio de uso</li>
<li>Punto de montaje</li>
</ul>
<h2>El comando &#8220;df&#8221;</h2>
<p><pre>pi@raspberrypi ~ $ df
S.ficheros     1K−bloques    Usados Disponibles Uso% Montado en
rootfs            7574088   2889120     4331928  41% /
/dev/root         7574088   2889120     4331928  41% /
devtmpfs           219832         0      219832   0% /dev
tmpfs               44800       244       44556   1% /run
tmpfs                5120         0        5120   0% /run/lock
tmpfs               89580         0       89580   0% /run/shm
/dev/mmcblk0p1      57288      9656       47632  17% /boot
/dev/sda1       488384508 198319828   290064680  41% /home/pi/DATA</pre></p>
<h3>El comando &#8220;df -h&#8221;</h3>
<p>La <strong>opción -h</strong> nos mostrará la información de forma un poco mas entendible, en MB o GB.<br />
<pre>pi@raspberrypi ~ $ df −h
S.ficheros     Tamaño Usados  Disp Uso% Montado en
rootfs           7,3G   2,8G  4,2G  41% /
/dev/root        7,3G   2,8G  4,2G  41% /
devtmpfs         215M      0  215M   0% /dev
tmpfs             44M   244K   44M   1% /run
tmpfs            5,0M      0  5,0M   0% /run/lock
tmpfs             88M      0   88M   0% /run/shm
/dev/mmcblk0p1    56M   9,5M   47M  17% /boot
/dev/sda1        466G   190G  277G  41% /home/pi/DATA</pre></p>
<h3>El comando &#8220;df -h /&#8221;</h3>
<p>Y si añadimos un sistema de ficheros, solo nos informará de ese disco.<br />
<pre>pi@raspberrypi ~ $ df −h /
S.ficheros     Tamaño Usados  Disp Uso% Montado en
/dev/root        7,3G   2,8G  4,2G  41% /</pre><br />
<pre>
pi@raspberrypi ~ $ df −h /dev/sda1
S.ficheros     Tamaño Usados  Disp Uso% Montado en
/dev/sda1        466G   190G  277G  41% /home/pi/DATA</pre><br />
Saludos linuxeros.</p>

<div class="wp_rp_wrap  wp_rp_twocolumns" ><div class="wp_rp_content"><h3 class="related_post_title">Artículos relacionados</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-1363" data-post-type="none" ><a href="http://bajolinux.com/linux-como-redimensionar-imagenes-desde-la-consola/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/29.jpg" alt="Linux y la línea de comandos. Como redimensionar imágenes desde la consola." width="150" height="150" /></a><a href="http://bajolinux.com/linux-como-redimensionar-imagenes-desde-la-consola/" class="wp_rp_title">Linux y la línea de comandos. Como redimensionar imágenes desde la consola.</a></li><li data-position="1" data-poid="in-4719" data-post-type="none" ><a href="http://bajolinux.com/que-version-de-ubuntu-estoy-usando/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2014/04/ubuntu_convertir_imagenes_tif_to_jpeg-150x150.jpg" alt="¿Que versión de Ubuntu estoy usando?" width="150" height="150" /></a><a href="http://bajolinux.com/que-version-de-ubuntu-estoy-usando/" class="wp_rp_title">¿Que versión de Ubuntu estoy usando?</a></li><li data-position="2" data-poid="in-124" data-post-type="none" ><a href="http://bajolinux.com/algunas-razones-por-las-que-prefiero-linux/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/28.jpg" alt="Algunas razones por las que prefiero Linux." width="150" height="150" /></a><a href="http://bajolinux.com/algunas-razones-por-las-que-prefiero-linux/" class="wp_rp_title">Algunas razones por las que prefiero Linux.</a></li><li data-position="3" data-poid="in-1381" data-post-type="none" ><a href="http://bajolinux.com/comandos-basicos-desde-consola-para-subversion-svn/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/12.jpg" alt="Comandos básicos desde consola para Subversion (svn)" width="150" height="150" /></a><a href="http://bajolinux.com/comandos-basicos-desde-consola-para-subversion-svn/" class="wp_rp_title">Comandos básicos desde consola para Subversion (svn)</a></li><li data-position="4" data-poid="in-1189" data-post-type="none" ><a href="http://bajolinux.com/cambia-la-fecha-y-hora-del-sistema-desde-la-linea-de-comandos/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2013/05/consola-150x150.png" alt="Cambia la fecha y hora del sistema desde la línea de comandos" width="150" height="150" /></a><a href="http://bajolinux.com/cambia-la-fecha-y-hora-del-sistema-desde-la-linea-de-comandos/" class="wp_rp_title">Cambia la fecha y hora del sistema desde la línea de comandos</a></li><li data-position="5" data-poid="in-1062" data-post-type="none" ><a href="http://bajolinux.com/algunas-ideas-para-aprovechar-tu-viejo-ordenador-gracias-a-linux/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/17.jpg" alt="Algunas ideas para aprovechar tu viejo ordenador gracias a Linux." width="150" height="150" /></a><a href="http://bajolinux.com/algunas-ideas-para-aprovechar-tu-viejo-ordenador-gracias-a-linux/" class="wp_rp_title">Algunas ideas para aprovechar tu viejo ordenador gracias a Linux.</a></li></ul></div></div>
<p><a rel="nofollow" href="http://bajolinux.com/espacio-de-disco-desde-la-consola-en-linux/">Espacio de disco desde la consola en linux</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></content:encoded>
      <wfw:commentRss>http://bajolinux.com/espacio-de-disco-desde-la-consola-en-linux/feed/</wfw:commentRss>
      <slash:comments>0</slash:comments>
    </item>
    <item>
      <title>Carga dinámica de javascript con jQuery</title>
      <link>http://bajolinux.com/carga-dinamica-de-javascript-con-jquery/</link>
      <comments>http://bajolinux.com/carga-dinamica-de-javascript-con-jquery/#comments</comments>
      <pubDate>Fri, 04 Jul 2014 08:00:48 +0000</pubDate>
      <dc:creator><![CDATA[marcos]]></dc:creator>
      <category><![CDATA[Programación]]></category>
      <category><![CDATA[javascript]]></category>
      <category><![CDATA[jquery]]></category>
      <guid isPermaLink="false">http://bajolinux.com/?p=4348</guid>
      <description><![CDATA[<p>Ya hemos hablado antes de como cargar archivos javascript de forma dinámica. En este ejemplo vamos a ver como realizar la carga dinámica de archivos javascript con jQuery. Basta con usar la función getScript tal como se muestra en el siguiente ejemplo: &#60;!DOCTYPE HTML&#62;&#60;html&#62;&#160;&#160;&#160;&#160;&#60;head&#62;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;title&#62;Bajolinux - Ejemplo de carga dinámica de javascsript&#60;/title&#62;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;meta http-equiv=&#34;content-type&#34; content=&#34;text/html; charset=utf-8&#34; /&#62;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;meta [&#8230;]</p>
<p><a rel="nofollow" href="http://bajolinux.com/carga-dinamica-de-javascript-con-jquery/">Carga dinámica de javascript con jQuery</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></description>
      <content:encoded><![CDATA[<p>Ya hemos hablado antes de como <a title="Carga dinámica de Javascript" href="http://bajolinux.com/carga-dinamica-de-javascript/">cargar archivos javascript de forma dinámica.</a></p>
<p>En este ejemplo vamos a ver como realizar la <strong>carga dinámica</strong> de archivos <a title="javascript" rel="nofollow" href="http://es.wikipedia.org/wiki/JavaScript" target="_blank"><strong>javascript</strong></a> con <a title="jQuery" rel="nofollow" href="http://jquery.com/download/" target="_blank"><strong>jQuery</strong></a>.</p>
<p>Basta con usar la función <strong>getScript</strong> tal como se muestra en el siguiente ejemplo:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="HTML"><div class="devcodeoverflow"><ol><li><span style="color: #00bbdd;">&lt;!DOCTYPE HTML&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">html</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">head</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">title</span>&gt;</span>Bajolinux - Ejemplo de carga dinámica de javascsript<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">title</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;content-type&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/html; charset=utf-8&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;description&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;keywords&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;jquery-1.11.1.min.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">head</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">body</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;wrapper&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">button</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'boton'</span>&gt;</span>pulsame<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>boton&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;result&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;$(document).ready(function(){</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$('#boton').click( function(){</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$.getScript('my-script.js', function(data, textStatus){</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$('#result').append( getTexto() );</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});</li><li>&nbsp;&nbsp;&nbsp;&nbsp;});</li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">html</span>&gt;</span></li><li></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>En la línea 17 cargamos el archivo externo, en este caso my-script.js.</p>
<p>En la linea 18 hacemos uso de la función getTexto(), incluida en my-script.js.</p>

<div class="wp_rp_wrap  wp_rp_twocolumns" ><div class="wp_rp_content"><h3 class="related_post_title">Artículos relacionados</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-253" data-post-type="none" ><a href="http://bajolinux.com/envio-de-formularios-post-con-javascript-mediante-ajax-y-jquery-2/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/4.jpg" alt="Envío de formularios POST con Javascript mediante Ajax y JQuery." width="150" height="150" /></a><a href="http://bajolinux.com/envio-de-formularios-post-con-javascript-mediante-ajax-y-jquery-2/" class="wp_rp_title">Envío de formularios POST con Javascript mediante Ajax y JQuery.</a></li><li data-position="1" data-poid="in-1080" data-post-type="none" ><a href="http://bajolinux.com/json-javascript-y-jquery-una-pequena-introduccion/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/1.jpg" alt="Json, Javascript y JQuery, una pequeña introducción." width="150" height="150" /></a><a href="http://bajolinux.com/json-javascript-y-jquery-una-pequena-introduccion/" class="wp_rp_title">Json, Javascript y JQuery, una pequeña introducción.</a></li><li data-position="2" data-poid="in-3547" data-post-type="none" ><a href="http://bajolinux.com/datatables-jquery-datatable-desde-array-javascript/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2013/06/datatables-150x150.png" alt="Datatables y jQuery: Datatable desde un array javascript" width="150" height="150" /></a><a href="http://bajolinux.com/datatables-jquery-datatable-desde-array-javascript/" class="wp_rp_title">Datatables y jQuery: Datatable desde un array javascript</a></li><li data-position="3" data-poid="in-861" data-post-type="none" ><a href="http://bajolinux.com/introduce-google-maps-en-tus-paginas-web/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/16.jpg" alt="Introduce google maps en tus páginas web." width="150" height="150" /></a><a href="http://bajolinux.com/introduce-google-maps-en-tus-paginas-web/" class="wp_rp_title">Introduce google maps en tus páginas web.</a></li><li data-position="4" data-poid="in-3290" data-post-type="none" ><a href="http://bajolinux.com/cinco-librerias-javascript-que-debes-conocer/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2013/06/javascript-wikipedia-150x150.png" alt="Cinco librerías javascript que debes conocer." width="150" height="150" /></a><a href="http://bajolinux.com/cinco-librerias-javascript-que-debes-conocer/" class="wp_rp_title">Cinco librerías javascript que debes conocer.</a></li><li data-position="5" data-poid="in-3161" data-post-type="none" ><a href="http://bajolinux.com/crear-tablas-dinamicas-con-jquery/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/9.jpg" alt="Crear tablas dinámicas con jQuery" width="150" height="150" /></a><a href="http://bajolinux.com/crear-tablas-dinamicas-con-jquery/" class="wp_rp_title">Crear tablas dinámicas con jQuery</a></li></ul></div></div>
<p><a rel="nofollow" href="http://bajolinux.com/carga-dinamica-de-javascript-con-jquery/">Carga dinámica de javascript con jQuery</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></content:encoded>
      <wfw:commentRss>http://bajolinux.com/carga-dinamica-de-javascript-con-jquery/feed/</wfw:commentRss>
      <slash:comments>0</slash:comments>
    </item>
    <item>
      <title>Organización de un sistema de ficheros en Linux</title>
      <link>http://bajolinux.com/organizacion-de-un-sistema-de-ficheros-en-linux/</link>
      <comments>http://bajolinux.com/organizacion-de-un-sistema-de-ficheros-en-linux/#comments</comments>
      <pubDate>Mon, 30 Jun 2014 10:00:15 +0000</pubDate>
      <dc:creator><![CDATA[marcos]]></dc:creator>
      <category><![CDATA[Linux]]></category>
      <category><![CDATA[archivos]]></category>
      <category><![CDATA[ficheros]]></category>
      <category><![CDATA[sistema]]></category>
      <guid isPermaLink="false">http://bajolinux.com/?p=4275</guid>
      <description><![CDATA[<p>Después de ver en un artículo anterior la definición y representación de un sistema de ficheros en Linux, ahora toca ver la organización. Organización de un sistema de ficheros En una instalación típica de Linux, encontraremos varios directorios y un gran número de archivos. Los principales directorios y su contenido son los siguientes: /bin Contiene [&#8230;]</p>
<p><a rel="nofollow" href="http://bajolinux.com/organizacion-de-un-sistema-de-ficheros-en-linux/">Organización de un sistema de ficheros en Linux</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></description>
      <content:encoded><![CDATA[<p>Después de ver en un artículo anterior la <a title="sistemas de ficheros en linux" href="http://bajolinux.com/sistemas-de-ficheros-en-linux/">definición y representación de un sistema de ficheros en Linux</a>, ahora toca ver la organización.</p>
<h2>Organización de un sistema de ficheros</h2>
<p>En una instalación típica de Linux, encontraremos varios directorios y un gran número de archivos. Los principales directorios y su contenido son los siguientes:</p>
<h3>/bin</h3>
<p style="padding-left: 30px;">Contiene archivos ejecutables, conocidos como binarios. Estos programas son esenciales para el correcto funcionamiento del sistema.</p>
<h3>/sbin</h3>
<p style="padding-left: 30px;">También contiene archivos binarios, la mayoría con fines administrativos para el sistema.</p>
<h3>/etc</h3>
<p style="padding-left: 30px;">Muy importante. Contiene archivos de configuración del sistema. Aquí encontramos archivos de contraseñas, sistemas de archivos que se montan al inicio o fstab, y archivos de comandos de inicio.</p>
<h3>/lib</h3>
<p style="padding-left: 30px;">Bibliotecas compartidas que utilizan los programas. Con el uso de bibliotecas compartidas muchos programas pueden utilizar el mismo código, con el consiguiente ahorro de espacio</p>
<h3>/dev</h3>
<p style="padding-left: 30px;">Contiene archivos especiales conocidos como archivos de dispositivo. Se utilizan para acceder a los distintos tipos de hardware del sistema.</p>
<p style="padding-left: 30px;">Algunos dispositivos típicos del directorio /dev son los siguientes:</p>
<ul>
<li>/dev/console, hace referencia a la consola del sistema</li>
<li>/dev/sd, interfaz de dispositivo para discos SCSI</li>
<li>/dev/tty, distintas consolas para las entradas de usuario</li>
<li>/dev/null, un dispositivo especial, un pozo sin fondo. Todos los datos que se escriben aquí se pierden para siempre. Útil cuando al ejecutar un comando no se necesitan ni la salida estándar ni los errores.</li>
</ul>
<h3>/proc</h3>
<p style="padding-left: 30px;">Contiene información sobre los procesos de la memoria.</p>
<h3>/tmp</h3>
<p style="padding-left: 30px;">Almacén de archivos temporales que crean los programas al ejecutarse. Si un programa crea archivos temporales muy grandes, es buena idea montarlo como sistema de archivos separado, para evitar que el sistema de archivos / se pueda llenar.</p>
<h3>/home</h3>
<p style="padding-left: 30px;">Es el directorio base para los directorios de usuarios. Se puede montar como sistema de archivos separado para mantener la información y el tamaño controlados.</p>
<h3>/var</h3>
<p style="padding-left: 30px;">Archivos que suelen cambiar de tamaño con el tiempo, como registros de sistema, mensajes o noticias.</p>
<h3>/usr</h3>
<p style="padding-left: 30px;">Muy importante para el funcionamiento del sistema. Contiene los grandes paquetes de software que se instalan. También se puede montar como un sistema de archivos por separado.</p>
<p style="padding-left: 30px;">Algunos de los directorios típicos de /usr son los siguientes:</p>
<h3>/usr/bin</h3>
<p style="padding-left: 30px;">Programas ejecutables instalados.</p>
<h3>/usr/etc</h3>
<p style="padding-left: 30px;">Archivos de configuración.</p>
<h3>/usr/lib</h3>
<p style="padding-left: 30px;">Bibliotecas para uso de los programas.</p>
<h3>/usr/man</h3>
<p style="padding-left: 30px;">Páginas del comando &#8216;man&#8217; para la documentación.</p>
<h3>/usr/src</h3>
<p style="padding-left: 30px;">Código fuente de los programas.</p>
<h3>/usr/local</h3>
<p style="padding-left: 30px;">Para personalizar localmente el sistema. Una forma de definirlo es tener un /usr/local/bin, un /usr/local/lib, etc.</p>

<div class="wp_rp_wrap  wp_rp_twocolumns" ><div class="wp_rp_content"><h3 class="related_post_title">Artículos relacionados</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-4260" data-post-type="none" ><a href="http://bajolinux.com/sistemas-de-ficheros-en-linux/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2014/06/sistema-archivos-linux-150x150.jpg" alt="Sistemas de ficheros en linux" width="150" height="150" /></a><a href="http://bajolinux.com/sistemas-de-ficheros-en-linux/" class="wp_rp_title">Sistemas de ficheros en linux</a></li><li data-position="1" data-poid="in-456" data-post-type="none" ><a href="http://bajolinux.com/leer-los-ficheros-de-un-directorio-en-php/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/27.jpg" alt="Leer los ficheros de un directorio en PHP" width="150" height="150" /></a><a href="http://bajolinux.com/leer-los-ficheros-de-un-directorio-en-php/" class="wp_rp_title">Leer los ficheros de un directorio en PHP</a></li><li data-position="2" data-poid="in-1189" data-post-type="none" ><a href="http://bajolinux.com/cambia-la-fecha-y-hora-del-sistema-desde-la-linea-de-comandos/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2013/05/consola-150x150.png" alt="Cambia la fecha y hora del sistema desde la línea de comandos" width="150" height="150" /></a><a href="http://bajolinux.com/cambia-la-fecha-y-hora-del-sistema-desde-la-linea-de-comandos/" class="wp_rp_title">Cambia la fecha y hora del sistema desde la línea de comandos</a></li><li data-position="3" data-poid="in-58" data-post-type="none" ><a href="http://bajolinux.com/programas-tradicionales-o-servicios-online/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/23.jpg" alt="¿Programas tradicionales o servicios online?" width="150" height="150" /></a><a href="http://bajolinux.com/programas-tradicionales-o-servicios-online/" class="wp_rp_title">¿Programas tradicionales o servicios online?</a></li><li data-position="4" data-poid="in-1062" data-post-type="none" ><a href="http://bajolinux.com/algunas-ideas-para-aprovechar-tu-viejo-ordenador-gracias-a-linux/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/17.jpg" alt="Algunas ideas para aprovechar tu viejo ordenador gracias a Linux." width="150" height="150" /></a><a href="http://bajolinux.com/algunas-ideas-para-aprovechar-tu-viejo-ordenador-gracias-a-linux/" class="wp_rp_title">Algunas ideas para aprovechar tu viejo ordenador gracias a Linux.</a></li><li data-position="5" data-poid="in-4381" data-post-type="none" ><a href="http://bajolinux.com/espacio-de-disco-desde-la-consola-en-linux/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2014/07/linux-terminal-150x150.jpg" alt="Espacio de disco desde la consola en linux" width="150" height="150" /></a><a href="http://bajolinux.com/espacio-de-disco-desde-la-consola-en-linux/" class="wp_rp_title">Espacio de disco desde la consola en linux</a></li></ul></div></div>
<p><a rel="nofollow" href="http://bajolinux.com/organizacion-de-un-sistema-de-ficheros-en-linux/">Organización de un sistema de ficheros en Linux</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></content:encoded>
      <wfw:commentRss>http://bajolinux.com/organizacion-de-un-sistema-de-ficheros-en-linux/feed/</wfw:commentRss>
      <slash:comments>0</slash:comments>
    </item>
    <item>
      <title>Sistemas de ficheros en linux</title>
      <link>http://bajolinux.com/sistemas-de-ficheros-en-linux/</link>
      <comments>http://bajolinux.com/sistemas-de-ficheros-en-linux/#comments</comments>
      <pubDate>Thu, 26 Jun 2014 18:00:22 +0000</pubDate>
      <dc:creator><![CDATA[marcos]]></dc:creator>
      <category><![CDATA[Linux]]></category>
      <category><![CDATA[archivos]]></category>
      <category><![CDATA[ficheros]]></category>
      <category><![CDATA[inodo]]></category>
      <category><![CDATA[metadatos]]></category>
      <category><![CDATA[sistema]]></category>
      <guid isPermaLink="false">http://bajolinux.com/?p=4260</guid>
      <description><![CDATA[<p>Definición de sistema de ficheros Un sistema de ficheros representa la organización lógica que se plasma en los discos o soportes de memorias para colocar información y datos en ellos. Cuando se escribe información en un disco, no se hace de cualquier manera, sino que se organiza para colocar de una forma determinada la información [&#8230;]</p>
<p><a rel="nofollow" href="http://bajolinux.com/sistemas-de-ficheros-en-linux/">Sistemas de ficheros en linux</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></description>
      <content:encoded><![CDATA[<h2>Definición de sistema de ficheros</h2>
<p>Un sistema de ficheros <strong>representa la organización lógica</strong> que se plasma en los discos o soportes de memorias para colocar información y datos en ellos.</p>
<p>Cuando se escribe <strong>información</strong> en un disco, no se hace de cualquier manera, sino que <strong>se organiza</strong> para colocar de una forma determinada la información relativa a los ficheros y los datos. <strong>Esta organización está definida por el sistema de ficheros.</strong></p>
<p>En Linux no existe un único tipo de sistema de ficheros, sino varios. Aunque los fundamentos para organizar la información suelen ser muy parecidos en los distintos sistemas de ficheros soportados por Linux, estos pueden variar dependiendo de la distribución elegida.</p>
<p>El <strong>principio básico</strong> que rige en los sistemas de ficheros es <strong>asociar un nombre de fichero con su contenido</strong> y autoriza acceso, creación, modificación, lectura, etc&#8230;</p>
<p>Por tanto, los sistemas de archivos o ficheros son la base de todos los datos, programas, bibliotecas, archivos de sistema y usuario. De aquí la importancia de administrar correctamente el sistema de ficheros para ejecutar Linux correctamente.</p>
<h2>Los metadatos o inodos</h2>
<p>Antes de pasar a la representación y organización de los sistemas de ficheros comentar que<strong> las propiedades de un fichero se denominan metadatos o inodos.</strong> Los metadatos o <strong>inodo</strong> de un fichero se representan con un <strong>número único</strong> para el fichero al que se refieren dentro del sistemas de ficheros.</p>
<p>Esta información <strong>se almacena internamente en un lugar especial del soporte de almacenamiento</strong>, y aunque pueden variar ligeramente de un sistema a otro, en general encontramos los siguientes:</p>
<ul>
<li>Permisos del fichero</li>
<li>Últimas fechas se acceso y modificación</li>
<li>Propietario y grupo del fichero</li>
<li>El tamaño</li>
<li>Número de bloques utilizados</li>
<li>El tipo de fichero</li>
<li>Contador de vínculos</li>
</ul>
<h2>Representación de un sistema de ficheros</h2>
<p>El sistema de ficheros en Linux <strong>se organiza en forma de árbol de directorios y subdirectorios desde una raíz común</strong>. Cada directorio forma parte de una organización y tiene una<strong> jerarquía ordenada.</strong></p>
<p>Por tanto, el sistema de archivos que resulta visible tras una instalación se basa en una <strong>estructura en árbol</strong>, con la raíz en la parte superior, y los directorios y subdirectorios se ramifican desde la raíz. El <strong>directorio superior o / se conoce como directorio raíz</strong>. Una representación típica puede ser la siguiente:</p>
<div id="attachment_4281" style="width: 310px" class="wp-caption aligncenter"><a href="http://bajolinux.com/wp-content/uploads/2014/06/sistema-archivos-en-linux.jpg"><img class="size-medium wp-image-4281" src="http://bajolinux.com/wp-content/uploads/2014/06/sistema-archivos-en-linux-300x136.jpg" alt="sistema de archivos en linux" width="300" height="136" /></a><p class="wp-caption-text">sistema de archivos en linux</p></div>
<p>Los directorios y su estructura pueden encontrarse en la misma partición o en una partición separada. Si está separada, se anexa al árbol en directorio conocido como punto de montaje.</p>

<div class="wp_rp_wrap  wp_rp_twocolumns" ><div class="wp_rp_content"><h3 class="related_post_title">Artículos relacionados</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-4275" data-post-type="none" ><a href="http://bajolinux.com/organizacion-de-un-sistema-de-ficheros-en-linux/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2014/06/sistema-archivos-linux-150x150.jpg" alt="Organización de un sistema de ficheros en Linux" width="150" height="150" /></a><a href="http://bajolinux.com/organizacion-de-un-sistema-de-ficheros-en-linux/" class="wp_rp_title">Organización de un sistema de ficheros en Linux</a></li><li data-position="1" data-poid="in-456" data-post-type="none" ><a href="http://bajolinux.com/leer-los-ficheros-de-un-directorio-en-php/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/27.jpg" alt="Leer los ficheros de un directorio en PHP" width="150" height="150" /></a><a href="http://bajolinux.com/leer-los-ficheros-de-un-directorio-en-php/" class="wp_rp_title">Leer los ficheros de un directorio en PHP</a></li><li data-position="2" data-poid="in-58" data-post-type="none" ><a href="http://bajolinux.com/programas-tradicionales-o-servicios-online/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/23.jpg" alt="¿Programas tradicionales o servicios online?" width="150" height="150" /></a><a href="http://bajolinux.com/programas-tradicionales-o-servicios-online/" class="wp_rp_title">¿Programas tradicionales o servicios online?</a></li><li data-position="3" data-poid="in-1189" data-post-type="none" ><a href="http://bajolinux.com/cambia-la-fecha-y-hora-del-sistema-desde-la-linea-de-comandos/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2013/05/consola-150x150.png" alt="Cambia la fecha y hora del sistema desde la línea de comandos" width="150" height="150" /></a><a href="http://bajolinux.com/cambia-la-fecha-y-hora-del-sistema-desde-la-linea-de-comandos/" class="wp_rp_title">Cambia la fecha y hora del sistema desde la línea de comandos</a></li><li data-position="4" data-poid="in-1062" data-post-type="none" ><a href="http://bajolinux.com/algunas-ideas-para-aprovechar-tu-viejo-ordenador-gracias-a-linux/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/17.jpg" alt="Algunas ideas para aprovechar tu viejo ordenador gracias a Linux." width="150" height="150" /></a><a href="http://bajolinux.com/algunas-ideas-para-aprovechar-tu-viejo-ordenador-gracias-a-linux/" class="wp_rp_title">Algunas ideas para aprovechar tu viejo ordenador gracias a Linux.</a></li><li data-position="5" data-poid="in-566" data-post-type="none" ><a href="http://bajolinux.com/escucha-la-radio-desde-el-escritorio-en-linux/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/25.jpg" alt="Escucha la radio desde el escritorio en linux" width="150" height="150" /></a><a href="http://bajolinux.com/escucha-la-radio-desde-el-escritorio-en-linux/" class="wp_rp_title">Escucha la radio desde el escritorio en linux</a></li></ul></div></div>
<p><a rel="nofollow" href="http://bajolinux.com/sistemas-de-ficheros-en-linux/">Sistemas de ficheros en linux</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></content:encoded>
      <wfw:commentRss>http://bajolinux.com/sistemas-de-ficheros-en-linux/feed/</wfw:commentRss>
      <slash:comments>0</slash:comments>
    </item>
    <item>
      <title>Ubuntu, convertir imágenes de formato tif a jpg con imagemagick</title>
      <link>http://bajolinux.com/ubuntu-convertir-imagenes-de-formato-tif-a-jpg-con-imagemagick/</link>
      <comments>http://bajolinux.com/ubuntu-convertir-imagenes-de-formato-tif-a-jpg-con-imagemagick/#comments</comments>
      <pubDate>Mon, 28 Apr 2014 18:00:51 +0000</pubDate>
      <dc:creator><![CDATA[marcos]]></dc:creator>
      <category><![CDATA[Linux]]></category>
      <category><![CDATA[bash]]></category>
      <category><![CDATA[imagenes]]></category>
      <category><![CDATA[script]]></category>
      <category><![CDATA[trucos linux]]></category>
      <category><![CDATA[ubuntu]]></category>
      <guid isPermaLink="false">http://bajolinux.com/?p=4110</guid>
      <description><![CDATA[<p>Convertir imágenes desde un formato tif a jpeg para formato web es bastante sencillo con imagemagick y linux. Basta con crear un sencillo script como el siguiente. #!/bin/bashfor i in ./tif/*.tifdo&#160;&#160;echo convirtiendo $i to ./jpeg/$&#40;basename $i .tif&#41;.jpg&#160;&#160;convert $i ./jpeg/$&#40;basename $i .tif&#41;.jpgdone Las imágenes en formato tif deberán estar en una carpeta llamada tif. Las imágenes [&#8230;]</p>
<p><a rel="nofollow" href="http://bajolinux.com/ubuntu-convertir-imagenes-de-formato-tif-a-jpg-con-imagemagick/">Ubuntu, convertir imágenes de formato tif a jpg con imagemagick</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></description>
      <content:encoded><![CDATA[<p>Convertir imágenes desde un formato tif a jpeg para formato web es bastante sencillo con imagemagick y linux.</p>
<p>Basta con crear un sencillo script como el siguiente.</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><ol><li><span style="color: #666666; font-style: italic;">#!/bin/bash</span></li><li><span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> .<span style="color: #000000; font-weight: bold;">/</span>tif<span style="color: #000000; font-weight: bold;">/*</span>.tif</li><li><span style="color: #000000; font-weight: bold;">do</span></li><li>&nbsp;&nbsp;<span style="color: #7a0874; font-weight: bold;">echo</span> convirtiendo <span style="color: #007800;">$i</span> to .<span style="color: #000000; font-weight: bold;">/</span>jpeg<span style="color: #000000; font-weight: bold;">/</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">basename</span> <span style="color: #007800;">$i</span> .tif<span style="color: #7a0874; font-weight: bold;">&#41;</span>.jpg</li><li>&nbsp;&nbsp;convert <span style="color: #007800;">$i</span> .<span style="color: #000000; font-weight: bold;">/</span>jpeg<span style="color: #000000; font-weight: bold;">/</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">basename</span> <span style="color: #007800;">$i</span> .tif<span style="color: #7a0874; font-weight: bold;">&#41;</span>.jpg</li><li><span style="color: #000000; font-weight: bold;">done</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Las imágenes en formato tif deberán estar en una carpeta llamada tif.</p>
<p>Las imágenes en formato jpeg las dejará en una carpeta llamada jpeg.</p>
<p>Luego le damos permiso de ejecución y ejecutamos nuestro script:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><ol><li><span style="color: #c20cb9; font-weight: bold;">chmod</span> +x convertir.sh</li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Y lo ejecutamos.</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><ol><li>.<span style="color: #000000; font-weight: bold;">/</span>convertir.sh</li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Y eso es todo, dejará las imágenes en formato jpeg en la carpeta mencionada.</p>
<p>Pero recuerda que esto es linux, si las imágenes están nombradas en mayúsculas tendrás que cambiar .tif por .TIF para que funcione.</p>
<p>Luego, en la carpeta jpeg puedes ejecutar el siguiente comando para reducir el tamaño de las imágenes:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><ol><li>mogrify −resize <span style="color: #000000;">20</span><span style="color: #000000; font-weight: bold;">%</span> −path resized<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">*</span>.jpg</li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Con esto las reducirá a un tamaño menor si son demasiado grandes y pesadas para la web, dejándo las imágenes reducidas en la carpeta resized.</p>
<p>Saludos linuxeros.</p>
<p>Photo credit: <a rel="nofollow" target="_blank" href="http://www.flickr.com/photos/luanacreativa/1615352334/">*Luana*</a> via <a rel="nofollow" target="_blank" href="http://photopin.com">photopin</a> <a rel="nofollow" target="_blank" href="http://creativecommons.org/licenses/by-nc-sa/2.0/">cc</a></p>

<div class="wp_rp_wrap  wp_rp_twocolumns" ><div class="wp_rp_content"><h3 class="related_post_title">Artículos relacionados</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-1363" data-post-type="none" ><a href="http://bajolinux.com/linux-como-redimensionar-imagenes-desde-la-consola/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/29.jpg" alt="Linux y la línea de comandos. Como redimensionar imágenes desde la consola." width="150" height="150" /></a><a href="http://bajolinux.com/linux-como-redimensionar-imagenes-desde-la-consola/" class="wp_rp_title">Linux y la línea de comandos. Como redimensionar imágenes desde la consola.</a></li><li data-position="1" data-poid="in-273" data-post-type="none" ><a href="http://bajolinux.com/como-devolver-los-botones-de-ubuntu-a-la-derecha-2/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/9.jpg" alt="Como devolver los botones de Ubuntu a la derecha" width="150" height="150" /></a><a href="http://bajolinux.com/como-devolver-los-botones-de-ubuntu-a-la-derecha-2/" class="wp_rp_title">Como devolver los botones de Ubuntu a la derecha</a></li><li data-position="2" data-poid="in-3861" data-post-type="none" ><a href="http://bajolinux.com/repositorios-ubuntu-linux-que-son-para-que-sirven/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2012/09/Novedades-en-Ubuntu-13.04-150x150.jpg" alt="Repositorios en Ubuntu Linux, que son y para que sirven" width="150" height="150" /></a><a href="http://bajolinux.com/repositorios-ubuntu-linux-que-son-para-que-sirven/" class="wp_rp_title">Repositorios en Ubuntu Linux, que son y para que sirven</a></li><li data-position="3" data-poid="in-4719" data-post-type="none" ><a href="http://bajolinux.com/que-version-de-ubuntu-estoy-usando/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2014/04/ubuntu_convertir_imagenes_tif_to_jpeg-150x150.jpg" alt="¿Que versión de Ubuntu estoy usando?" width="150" height="150" /></a><a href="http://bajolinux.com/que-version-de-ubuntu-estoy-usando/" class="wp_rp_title">¿Que versión de Ubuntu estoy usando?</a></li><li data-position="4" data-poid="in-526" data-post-type="none" ><a href="http://bajolinux.com/archlinux-existen-distros-mas-alla-de-ubuntu/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/plugins/wordpress-23-related-posts-plugin/static/thumbs/30.jpg" alt="ArchLinux, existen distros mas allá de Ubuntu" width="150" height="150" /></a><a href="http://bajolinux.com/archlinux-existen-distros-mas-alla-de-ubuntu/" class="wp_rp_title">ArchLinux, existen distros mas allá de Ubuntu</a></li><li data-position="5" data-poid="in-4007" data-post-type="none" ><a href="http://bajolinux.com/descarga-videos-youtube-ubuntu-linea-comandos/" class="wp_rp_thumbnail"><img src="http://bajolinux.com/wp-content/uploads/2014/03/descargar-videos-youtube-ubuntu-youtube-dl-150x150.png" alt="Descargar videos de youtube en ubuntu desde la linea de comandos" width="150" height="150" /></a><a href="http://bajolinux.com/descarga-videos-youtube-ubuntu-linea-comandos/" class="wp_rp_title">Descargar videos de youtube en ubuntu desde la linea de comandos</a></li></ul></div></div>
<p><a rel="nofollow" href="http://bajolinux.com/ubuntu-convertir-imagenes-de-formato-tif-a-jpg-con-imagemagick/">Ubuntu, convertir imágenes de formato tif a jpg con imagemagick</a> publicado en <a rel="nofollow" href="http://bajolinux.com">BajoLinux</a>.</p>
]]></content:encoded>
      <wfw:commentRss>http://bajolinux.com/ubuntu-convertir-imagenes-de-formato-tif-a-jpg-con-imagemagick/feed/</wfw:commentRss>
      <slash:comments>0</slash:comments>
    </item>
  </channel>
</rss>
