<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux Sin Humo (Publicaciones sobre micro)</title><link>https://sergiobelkin.com/</link><description></description><atom:link href="https://sergiobelkin.com/categories/cat_micro.xml" rel="self" type="application/rss+xml"></atom:link><language>es</language><copyright>Contents © 2026 &lt;a href="mailto:sebelk@gmail.com"&gt;sebelk&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/"&gt;
&lt;img alt="Creative Commons License BY-NC-SA"
style="border-width:0; margin-bottom:12px;"
src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png"&gt;&lt;/a&gt;
</copyright><lastBuildDate>Sun, 19 Apr 2026 00:13:30 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>curl con resolución de nombres selectivo</title><link>https://sergiobelkin.com/posts/curl-con-resolucion-de-nombres-selectivo/</link><dc:creator>sebelk</dc:creator><description>&lt;p&gt;A veces necesitamos testear un webserver en una ip alternativa a la que resuelve el DNS, para conseguirlo:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;curl --resolve www.example:443:10.0.3.102  -I https://www.example&lt;/code&gt;&lt;/p&gt;</description><category>certificados</category><guid>https://sergiobelkin.com/posts/curl-con-resolucion-de-nombres-selectivo/</guid><pubDate>Mon, 27 Apr 2020 18:59:11 GMT</pubDate></item><item><title>Eligiendo Hostname</title><link>https://sergiobelkin.com/posts/eligiendo-hostname/</link><dc:creator>sebelk</dc:creator><description>&lt;p&gt;¿No les pasó muchas veces crear un host y no saber qué nombre ponerle?
A mi me pasó. Hace un tiempo había encontrado un script que realizaba esa función. No me acuerdo cuál ni donde. De todas maneras , tenemos la manera de crear de fácilmente un nombre de host de manera aleatoria.
Por ejemplo, el archivo &lt;code&gt;/usr/share/dict/words&lt;/code&gt;tiene una buena cantidad de palabras en inglés. Este archivo pertence al paquete &lt;strong&gt;words&lt;/strong&gt; y la lista de palabras proviene del &lt;a href="https://en.wikipedia.org/wiki/Moby_Project"&gt;Moby Project&lt;/a&gt;.
Bien, ya tenemos una lista de palabras. Ahora necesitamos alguna herramienta que elija al azar líneas de un archivo. A tal fin podemos usar &lt;code&gt;shuf&lt;/code&gt;:&lt;/p&gt;
&lt;p&gt;&lt;a class="reference" href="https://sergiobelkin.com/images/20181224165659955_349546731.png" alt="Uso de shuf"&gt;&lt;img src="https://sergiobelkin.com/images/20181224165659955_349546731.thumbnail.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Si estamos intrigados sobre el significado de la palabra encontrada podemos buscarlo en wikipedia por medio de la herramienta &lt;strong&gt;wikit&lt;/strong&gt;:
&lt;a class="reference" href="https://sergiobelkin.com/images/20181224172142697_1853906141.png" alt="wikit"&gt;&lt;img src="https://sergiobelkin.com/images/20181224172142697_1853906141.thumbnail.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Otra manera sería usar los archivos de hunspell. Hunspell es el corrector ortográfico de LibreOffice, Firefox y Thunderbird, entre otros proyectos.&lt;/p&gt;
&lt;p&gt;Si queremos tener un adjetivo y un sustantivo:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;paste -d'-' &amp;lt;(tr  ' ' '\n' &amp;lt; /usr/share/wordnet-3.0/dict/adj.exc|shuf -n1)   &amp;lt;(tr ' ' '\n' &amp;lt; /usr/share/wordnet-3.0/dict/noun.exc|shuf -n1)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Y podemos hasta obtener el hostname con diseño:&lt;/p&gt;
&lt;p&gt;&lt;a class="reference" href="https://sergiobelkin.com/images/20181224190141764_1384909657.png" alt="Usando boxes"&gt;&lt;img src="https://sergiobelkin.com/images/20181224190141764_1384909657.thumbnail.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="mas-informacion"&gt;Más información&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://hunspell.github.io/"&gt;Hunspell: About&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://boxes.thomasjensen.com/"&gt;boxes - Command line ASCII boxes unlimited!&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><category>bash</category><guid>https://sergiobelkin.com/posts/eligiendo-hostname/</guid><pubDate>Mon, 24 Dec 2018 23:15:49 GMT</pubDate></item></channel></rss>