<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3407327322051142248</id><updated>2024-09-25T17:10:24.414-07:00</updated><category term="linux"/><category term="archivo"/><category term="buscar"/><category term="comandos"/><category term="MySQL"/><category term="PHP"/><category term="archivos"/><category term="descomprimir"/><category term="google"/><category term="java"/><category term="nombre"/><category term=".sql"/><category term="SQL"/><category term="apache"/><category term="base de datos"/><category term="chrome"/><category term="comando"/><category term="cpanel"/><category term="eliminar"/><category term="find"/><category term="grep"/><category term="ldd"/><category term="talento"/><category term="tar.gz"/><category term="3.0.1"/><category term="EJB"/><category term="Glassfish"/><category term="Tika"/><category term="acceso"/><category term="acid3"/><category term="artistic"/><category term="backup"/><category term="bc"/><category term="beans"/><category term="blogs"/><category term="bsd"/><category term="cadena"/><category term="cadenas"/><category term="call"/><category term="caracter"/><category term="cargar"/><category term="carpeta"/><category term="casos"/><category term="client"/><category term="cliente"/><category term="col"/><category term="cola"/><category term="command"/><category term="comprimir"/><category term="comunes"/><category term="contenga"/><category term="correo"/><category term="cron"/><category term="crontab"/><category term="css3"/><category term="delete"/><category term="dependencias"/><category term="directo"/><category term="disco"/><category term="doc"/><category term="electronico"/><category term="empresa"/><category term="espacio"/><category term="exim"/><category term="files"/><category term="frase"/><category term="frases"/><category term="free"/><category term="full"/><category term="gnu"/><category term="gpl"/><category term="gratis"/><category term="hash"/><category term="hashmap"/><category term="html5"/><category term="injection"/><category term="instituto"/><category term="jar"/><category term="jsp"/><category term="led"/><category term="leer"/><category term="lgpl"/><category term="libc6.2-2.so.3"/><category term="libstdc++"/><category term="licencia"/><category term="link"/><category term="locate"/><category term="lsof"/><category term="mac"/><category term="mails"/><category term="managment"/><category term="mit"/><category term="mkfifo"/><category term="mozilla"/><category term="navegador"/><category term="nl"/><category term="os"/><category term="palabra"/><category term="palabras"/><category term="pgrep"/><category term="proverbio chino"/><category term="pstree"/><category term="queue"/><category term="rar"/><category term="recuperación"/><category term="recuperar"/><category term="reemplazar"/><category term="remote"/><category term="respaldo"/><category term="riesgo"/><category term="sabiduría"/><category term="samba"/><category term="servlets"/><category term="sixthsense"/><category term="split"/><category term="tar"/><category term="televisor"/><category term="test"/><category term="tv"/><category term="ubuntu"/><category term="vhost"/><category term="xmlwf"/><category term="última"/><category term="último"/><title type='text'>Mi Ramos Generales</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>42</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-8888970730641289681</id><published>2010-12-09T05:04:00.000-08:00</published><updated>2010-12-09T05:05:58.144-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="disco"/><category scheme="http://www.blogger.com/atom/ns#" term="espacio"/><title type='text'>Ver el espacio ocupado por una carpeta</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, Tahoma, Arial, &#39;Times New Roman&#39;; border-collapse: collapse; font-size: 11px; line-height: 15px; &quot;&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, Tahoma, Arial, &#39;Times New Roman&#39;; border-collapse: collapse; font-size: 11px; line-height: 15px; &quot;&gt;En linux, para conocer el espacio que ocupa una carpeta (con sus subcarpetas y archivos) debe ejecutar el siguiente comando:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, Tahoma, Arial, &#39;Times New Roman&#39;; border-collapse: collapse; font-size: 11px; line-height: 15px; &quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;du -ch --max-depth=1 /path/&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/8888970730641289681/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2010/12/ver-el-espacio-ocupado-por-una-carpeta.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/8888970730641289681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/8888970730641289681'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2010/12/ver-el-espacio-ocupado-por-una-carpeta.html' title='Ver el espacio ocupado por una carpeta'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-6674715123357289321</id><published>2010-09-03T12:57:00.000-07:00</published><updated>2010-09-03T13:00:57.540-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3.0.1"/><category scheme="http://www.blogger.com/atom/ns#" term="call"/><category scheme="http://www.blogger.com/atom/ns#" term="EJB"/><category scheme="http://www.blogger.com/atom/ns#" term="Glassfish"/><category scheme="http://www.blogger.com/atom/ns#" term="injection"/><category scheme="http://www.blogger.com/atom/ns#" term="remote"/><title type='text'>Call remote EJB - Glassfish 3.0.1 - Remote EJB Injection</title><content type='html'>&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;Glassfish 3.0.1 - JEE 6&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Call remote EJB -  Remote EJB Injection&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;MyEJBRemote ejb = new MyEJB();&lt;/div&gt;&lt;div&gt;Properties props = new Properties();         &lt;/div&gt;&lt;div&gt;props.setProperty(&quot;org.omg.CORBA.ORBInitialHost&quot;,&quot;&lt;ip&gt;&quot;);&lt;/div&gt;&lt;div&gt;props.setProperty(&quot;org.omg.CORBA.ORBInitialPort&quot;,&quot;3700&quot;);&lt;/div&gt;&lt;div&gt;InitialContext ic = new InitialContext(props);&lt;/div&gt;&lt;div&gt;ejb = (MyEJBRemote)ic.lookup(&quot;myejbjndiname&quot;);&lt;/div&gt;&lt;div&gt;out.print(ejb.methodName(&quot;parameter&quot;));&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/6674715123357289321/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2010/09/call-remote-ejb-glassfish-301-remote.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/6674715123357289321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/6674715123357289321'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2010/09/call-remote-ejb-glassfish-301-remote.html' title='Call remote EJB - Glassfish 3.0.1 - Remote EJB Injection'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-1756169781226985204</id><published>2010-07-12T07:35:00.000-07:00</published><updated>2010-07-12T07:39:17.668-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="comunes"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Comandos comunes en Linux</title><content type='html'>Comandos comunes en Linux:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;table class=&quot;pixelbeat&quot; border=&quot;1&quot;&gt;&lt;tbody&gt;&lt;tr id=&quot;misc&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;b&gt;Command&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;apropos whatis&lt;/td&gt;&lt;td&gt;Show commands pertinent to string. See also &lt;a href=&quot;http://www.pixelbeat.org/scripts/threadsafe&quot;&gt;threadsafe&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;a href=&quot;http://www.pixelbeat.org/lkdb/less.html&quot;&gt;man&lt;/a&gt; -t man | ps2pdf - &gt; man.pdf&lt;/td&gt;&lt;td&gt;make a pdf of a manual page&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;which command&lt;/td&gt;&lt;td&gt;Show full path name of command&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;time command&lt;/td&gt;&lt;td&gt;See how long a command takes&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;time cat&lt;/td&gt;&lt;td&gt;Start stopwatch. Ctrl-d to stop. See also &lt;a href=&quot;http://www.pixelbeat.org/scripts/stopwatch/&quot;&gt;sw&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;dirs&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;dir navigation&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;cd -&lt;/td&gt;&lt;td&gt;Go to previous directory&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;cd&lt;/td&gt;&lt;td&gt;Go to $HOME directory&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;(cd dir &amp;amp;&amp;amp; command)&lt;/td&gt;&lt;td&gt;Go to dir, execute command and return to current dir&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;pushd &lt;b&gt;.&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Put current dir on stack so you can &lt;b&gt;popd&lt;/b&gt; back to it&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;file_search&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;file searching&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;a href=&quot;http://www.pixelbeat.org/settings/.bashrc&quot;&gt;alias&lt;/a&gt; l=&#39;ls -l --color=auto&#39;&lt;/td&gt;&lt;td&gt;quick dir listing&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ls -lrt&lt;/td&gt;&lt;td&gt;List files by date. See also &lt;a href=&quot;http://www.pixelbeat.org/scripts/newest&quot;&gt;newest&lt;/a&gt; and &lt;a href=&quot;http://www.pixelbeat.org/scripts/find_mm_yyyy&quot;&gt;find_mm_yyyy&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ls /usr/bin | pr -T9 -W$COLUMNS&lt;/td&gt;&lt;td&gt;Print in 9 columns to width of terminal&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;find -name &#39;*.[ch]&#39; | xargs grep -E &#39;expr&#39;&lt;/td&gt;&lt;td&gt;Search &#39;expr&#39; in this dir and below. See also &lt;a href=&quot;http://www.pixelbeat.org/scripts/findrepo&quot;&gt;findrepo&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;find -type f -print0 | xargs -r0 grep -F &#39;example&#39;&lt;/td&gt;&lt;td&gt;Search all regular files for &#39;example&#39; in this dir and below&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;find -maxdepth 1 -type f | xargs grep -F &#39;example&#39;&lt;/td&gt;&lt;td&gt;Search all regular files for &#39;example&#39; in this dir&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;find -maxdepth 1 -type d | while &lt;a href=&quot;http://www.pixelbeat.org/programming/readline/&quot;&gt;read&lt;/a&gt; dir; do echo $dir; echo cmd2; done&lt;/td&gt;&lt;td&gt;Process each item with multiple commands (in while loop)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;find -type f ! -perm -444&lt;/td&gt;&lt;td&gt;Find files not readable by all (useful for web site)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;find -type d ! -perm -111&lt;/td&gt;&lt;td&gt;Find dirs not accessible by all (useful for web site)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;locate -r &#39;file[^/]*\.txt&#39;&lt;/td&gt;&lt;td&gt;Search cached index for names. This re is like glob *file*.txt&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;look reference&lt;/td&gt;&lt;td&gt;Quickly search (sorted) dictionary for prefix&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;grep &lt;a href=&quot;http://www.pixelbeat.org/settings/.bashrc&quot;&gt;--color&lt;/a&gt; reference /usr/share/dict/words&lt;/td&gt;&lt;td&gt;Highlight occurances of regular expression in dictionary&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;archives&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;archives and compression&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;gpg -c file&lt;/td&gt;&lt;td&gt;Encrypt file&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;gpg file.gpg&lt;/td&gt;&lt;td&gt;Decrypt file&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;tar -c dir/ | bzip2 &gt; dir.tar.bz2&lt;/td&gt;&lt;td&gt;Make compressed archive of dir/&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;bzip2 -dc dir.tar.bz2 | tar -x&lt;/td&gt;&lt;td&gt;Extract archive (use gzip instead of bzip2 for tar.gz files)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;tar -c dir/ | gzip | gpg -c | ssh user@remote &#39;dd of=dir.tar.gz.gpg&#39;&lt;/td&gt;&lt;td&gt;Make encrypted archive of dir/ on remote machine&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;find dir/ -name &#39;*.txt&#39; | tar -c --files-from=- | bzip2 &gt; dir_txt.tar.bz2&lt;/td&gt;&lt;td&gt;Make archive of subset of dir/ and below&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;find dir/ -name &#39;*.txt&#39; | xargs cp -a --target-directory=dir_txt/ --parents&lt;/td&gt;&lt;td&gt;Make copy of subset of dir/ and below&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;( tar -c /dir/to/copy ) | ( cd /where/to/ &amp;amp;&amp;amp; tar -x -p )&lt;/td&gt;&lt;td&gt;Copy (with permissions) copy/ dir to /where/to/ dir&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;( cd /dir/to/copy &amp;amp;&amp;amp; tar -c &lt;b&gt;.&lt;/b&gt; ) | ( cd /where/to/ &amp;amp;&amp;amp; tar -x -p )&lt;/td&gt;&lt;td&gt;Copy (with permissions) contents of copy/ dir to /where/to/&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;( tar -c /dir/to/copy ) | ssh -C user@remote &#39;cd /where/to/ &amp;amp;&amp;amp; tar -x -p&#39; &lt;/td&gt;&lt;td&gt;Copy (with permissions) copy/ dir to remote:/where/to/ dir&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;dd bs=1M if=/dev/sda | gzip | ssh user@remote &#39;dd of=sda.gz&#39;&lt;/td&gt;&lt;td&gt;Backup harddisk to remote machine&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;rsync&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;rsync&lt;/b&gt; (Network efficient file copier: Use the --dry-run option for testing)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;rsync -P rsync://rsync.server.com/path/to/file file&lt;/td&gt;&lt;td&gt;Only get diffs. Do multiple times for troublesome downloads&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;rsync --bwlimit=1000 fromfile tofile&lt;/td&gt;&lt;td&gt;Locally copy with rate limit. It&#39;s like nice for I/O&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;rsync -az -e ssh --delete ~/public_html/ remote.com:&#39;~/public_html&#39;&lt;/td&gt;&lt;td&gt;Mirror web site (using compression and encryption)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;rsync -auz -e ssh remote:/dir/ &lt;b&gt;.&lt;/b&gt; &amp;amp;&amp;amp; rsync -auz -e ssh &lt;b&gt;.&lt;/b&gt; remote:/dir/&lt;/td&gt;&lt;td&gt;Synchronize current directory with remote one&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;ssh&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;ssh&lt;/b&gt; (Secure SHell)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ssh $USER@$HOST command&lt;/td&gt;&lt;td&gt;Run command on $HOST as $USER (default command=shell)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ssh -f -Y $USER@$HOSTNAME xeyes&lt;/td&gt;&lt;td&gt;Run GUI command on $HOSTNAME as $USER&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;scp -p -r $USER@$HOST: file dir/&lt;/td&gt;&lt;td&gt;Copy with permissions to $USER&#39;s home directory on $HOST&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ssh -g -L 8080:localhost:80 root@$HOST&lt;/td&gt;&lt;td&gt;Forward connections to $HOSTNAME:8080 out to $HOST:80&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ssh -R 1434:imap:143 root@$HOST&lt;/td&gt;&lt;td&gt;Forward connections from $HOST:1434 in to imap:143&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ssh-copy-id $USER@$HOST &lt;/td&gt;&lt;td&gt;Install $USER&#39;s public key on $HOST for password-less log in&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;wget&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;wget&lt;/b&gt; (multi purpose download tool)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;(cd dir/ &amp;amp;&amp;amp; wget -nd -pHEKk http://www.pixelbeat.org/cmdline.html)&lt;/td&gt;&lt;td&gt;Store local browsable version of a page to the current dir&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;wget -c http://www.example.com/large.file&lt;/td&gt;&lt;td&gt;Continue downloading a partially downloaded file&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;wget -r -nd -np -l1 -A &#39;*.jpg&#39; http://www.example.com/dir/&lt;/td&gt;&lt;td&gt;Download a set of files to the current directory&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;wget ftp://remote/file[1-9].iso/&lt;/td&gt;&lt;td&gt;FTP supports globbing directly&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;wget -q -O- http://www.pixelbeat.org/timeline.html | grep &#39;a href&#39; | head&lt;/td&gt;&lt;td&gt;Process output directly&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;echo &#39;wget url&#39; | at 01:00&lt;/td&gt;&lt;td&gt;Download url at 1AM to current dir&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;wget --limit-rate=20k url&lt;/td&gt;&lt;td&gt;Do a low priority download (limit to 20&lt;a href=&quot;http://www.pixelbeat.org/speeds.html&quot;&gt;KB/s&lt;/a&gt; in this case)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;wget -nv --spider --force-html -i bookmarks.html&lt;/td&gt;&lt;td&gt;Check links in a file&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;wget --mirror http://www.example.com/&lt;/td&gt;&lt;td&gt;Efficiently update a local copy of a site (handy from cron)&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;net&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;networking&lt;/b&gt; (Note ifconfig, route, mii-tool, nslookup commands are obsolete)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;acronym title=&quot;usually in /sbin/&quot;&gt;ethtool&lt;/acronym&gt; eth0&lt;/td&gt;&lt;td&gt;Show status of ethernet interface eth0&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ethtool --change eth0 autoneg off speed 100 duplex full&lt;/td&gt;&lt;td&gt;Manually set ethernet interface speed&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;acronym title=&quot;usually in /sbin/&quot;&gt;iwconfig&lt;/acronym&gt; eth1&lt;/td&gt;&lt;td&gt;Show status of wireless interface eth1&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;iwconfig eth1 rate 1Mb/s fixed&lt;/td&gt;&lt;td&gt;Manually set wireless interface speed&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;acronym title=&quot;usually in /sbin/&quot;&gt;iwlist&lt;/acronym&gt; scan&lt;/td&gt;&lt;td&gt;List wireless networks in range&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;acronym title=&quot;usually in /sbin/&quot;&gt;ip&lt;/acronym&gt; link show&lt;/td&gt;&lt;td&gt;List network interfaces&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ip link set dev eth0 name wan&lt;/td&gt;&lt;td&gt;Rename interface eth0 to wan&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ip link set dev eth0 up&lt;/td&gt;&lt;td&gt;Bring interface eth0 up (or down)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ip addr show&lt;/td&gt;&lt;td&gt;List addresses for interfaces&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ip addr add 1.2.3.4/24 brd + dev eth0&lt;/td&gt;&lt;td&gt;Add (or del) ip and mask (255.255.255.0)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ip route show&lt;/td&gt;&lt;td&gt;List routing table&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ip route add default via 1.2.3.254&lt;/td&gt;&lt;td&gt;Set default gateway to 1.2.3.254&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;host pixelbeat.org&lt;/td&gt;&lt;td&gt;Lookup DNS ip address for name or vice versa&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;hostname -i&lt;/td&gt;&lt;td&gt;Lookup local ip address (equivalent to host `hostname`)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;whois pixelbeat.org&lt;/td&gt;&lt;td&gt;Lookup whois info for hostname or ip address&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;netstat -tupl&lt;/td&gt;&lt;td&gt;List internet services on a system&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;netstat -tup&lt;/td&gt;&lt;td&gt;List active connections to/from system&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;windows&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;windows networking&lt;/b&gt; (Note samba is the package that provides all this windows specific networking support)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;smbtree&lt;/td&gt;&lt;td&gt;Find windows machines. See also findsmb&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;nmblookup -A 1.2.3.4&lt;/td&gt;&lt;td&gt;Find the windows (netbios) name associated with ip address&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;smbclient -L windows_box&lt;/td&gt;&lt;td&gt;List shares on windows machine or samba server&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;mount -t smbfs -o fmask=666,guest //windows_box/share /mnt/share&lt;/td&gt;&lt;td&gt;Mount a windows share&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;echo &#39;message&#39; | smbclient -M windows_box&lt;/td&gt;&lt;td&gt;Send popup to windows machine (off by default in XP sp2)&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;text&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;text manipulation&lt;/b&gt; (Note sed uses stdin and stdout. Newer versions support inplace editing with the -i option)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sed &#39;s/string1/string2/g&#39;&lt;/td&gt;&lt;td&gt;Replace string1 with string2&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sed &#39;s/\(.*\)1/\12/g&#39;&lt;/td&gt;&lt;td&gt;Modify anystring1 to anystring2&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sed &#39;/ *#/d; /^ *$/d&#39;&lt;/td&gt;&lt;td&gt;Remove comments and blank lines&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sed &#39;:a; /\\$/N; s/\\\n//; ta&#39;&lt;/td&gt;&lt;td&gt;Concatenate lines with trailing \&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sed &#39;s/[ \t]*$//&#39;&lt;/td&gt;&lt;td&gt;Remove trailing spaces from lines&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sed &#39;s/\([`&quot;$\]\)/\\\1/g&#39;&lt;/td&gt;&lt;td&gt;Escape shell metacharacters active within double quotes&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;seq 10 | sed &quot;s/^/      /; s/ *\(.\{7,\}\)/\1/&quot;&lt;/td&gt;&lt;td&gt;Right align numbers&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sed -n &#39;1000{p;&lt;acronym title=&quot;quit ASAP&quot;&gt;q&lt;/acronym&gt;}&#39;&lt;/td&gt;&lt;td&gt;Print 1000th line&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sed -n &#39;10,20p;&lt;acronym title=&quot;quit ASAP&quot;&gt;20q&lt;/acronym&gt;&#39;&lt;/td&gt;&lt;td&gt;Print lines 10 to 20&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sed -n &#39;s/.*&lt;title&gt;\(.*\)&lt;/title&gt;&lt;\/title&gt;.*/\1/ip;&lt;acronym title=&quot;quit after match&quot;&gt;T;q&lt;/acronym&gt;&#39;&lt;/td&gt;&lt;td&gt;Extract title from HTML web page&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sed -i 42d ~/.ssh/known_hosts&lt;/td&gt;&lt;td&gt;Delete a particular line&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sort -t. -k1,1n -k2,2n -k3,3n -k4,4n&lt;/td&gt;&lt;td&gt;Sort IPV4 ip addresses&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;echo &#39;Test&#39; | tr &#39;[:lower:]&#39; &#39;[:upper:]&#39;&lt;/td&gt;&lt;td&gt;Case conversion&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;tr -dc &#39;[:print:]&#39; &lt; /dev/urandom&lt;/td&gt;&lt;td&gt;Filter non printable characters&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;tr -s &#39;[:blank:]&#39; &#39;\t&#39; &lt;/td&gt;&lt;td&gt;cut fields separated by blanks&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;history | wc -l&lt;/td&gt;&lt;td&gt;Count lines&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;sets&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;set operations&lt;/b&gt; (Note you can &lt;a href=&quot;http://www.pixelbeat.org/docs/env.html&quot;&gt;export LANG=C&lt;/a&gt; for speed. Also these assume no duplicate lines within a file)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sort file1 file2 | uniq&lt;/td&gt;&lt;td&gt;&lt;acronym title=&quot;Items in either file1 or file2&quot;&gt;Union&lt;/acronym&gt; of unsorted files&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sort file1 file2 | uniq -d&lt;/td&gt;&lt;td&gt;&lt;acronym title=&quot;Items both in file1 and file2&quot;&gt;Intersection&lt;/acronym&gt; of unsorted files&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sort file1 file1 file2 | uniq -u&lt;/td&gt;&lt;td&gt;&lt;acronym title=&quot;Items in file2 not in file1&quot;&gt;Difference&lt;/acronym&gt; of unsorted files&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;sort file1 file2 | uniq -u&lt;/td&gt;&lt;td&gt;&lt;acronym title=&quot;Items in only one file&quot;&gt;Symmetric Difference&lt;/acronym&gt; of unsorted files&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;join &lt;acronym title=&quot;process whole line (assuming no NUL characters present)&quot;&gt;-t&#39;\0&#39;&lt;/acronym&gt; -a1 -a2 file1 file2&lt;/td&gt;&lt;td&gt;Union of sorted files&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;join -t&#39;\0&#39; file1 file2&lt;/td&gt;&lt;td&gt;Intersection of sorted files&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;join -t&#39;\0&#39; -v2 file1 file2&lt;/td&gt;&lt;td&gt;Difference of sorted files&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;join -t&#39;\0&#39; -v1 -v2 file1 file2&lt;/td&gt;&lt;td&gt;Symmetric Difference of sorted files&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;math&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;math&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;echo &#39;(1 + sqrt(5))/2&#39; | bc -l&lt;/td&gt;&lt;td&gt;Quick math (Calculate φ). See also &lt;a href=&quot;http://www.pixelbeat.org/scripts/bc&quot;&gt;bc&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;echo &#39;pad=20; min=64; (100*10^6)/((pad+min)*8)&#39; | bc&lt;/td&gt;&lt;td&gt;More complex (int) e.g. This shows max FastE packet rate&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;echo &#39;pad=20; min=64; print (100E6)/((pad+min)*8)&#39; | python&lt;/td&gt;&lt;td&gt;Python handles scientific notation&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;echo &#39;pad=20; plot [64:1518] (100*10**6)/((pad+x)*8)&#39; | gnuplot -persist&lt;/td&gt;&lt;td&gt;Plot FastE packet rate vs packet size&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;echo &#39;obase=16; ibase=10; 64206&#39; | bc&lt;/td&gt;&lt;td&gt;Base conversion (decimal to hexadecimal)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;echo $((0x2dec))&lt;/td&gt;&lt;td&gt;Base conversion (hex to dec) ((shell arithmetic expansion))&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;units -t &#39;100m/&lt;a href=&quot;http://www.pixelbeat.org/misc/usain_bolt/&quot;&gt;9.58s&lt;/a&gt;&#39; &#39;miles/hour&#39;&lt;/td&gt;&lt;td&gt;Unit conversion (metric to imperial)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;units -t &#39;500GB&#39; &#39;GiB&#39;&lt;/td&gt;&lt;td&gt;Unit conversion (&lt;acronym title=&quot;powers of 10&quot;&gt;SI&lt;/acronym&gt; to &lt;acronym title=&quot;powers of 2&quot;&gt;IEC&lt;/acronym&gt; prefixes)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;units -t &#39;1 googol&#39;&lt;/td&gt;&lt;td&gt;Definition lookup&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;seq 100 | (tr &#39;\n&#39; +; echo 0) | bc&lt;/td&gt;&lt;td&gt;Add a column of numbers. See also &lt;a href=&quot;http://www.pixelbeat.org/scripts/add&quot;&gt;add&lt;/a&gt; and &lt;a href=&quot;http://www.pixelbeat.org/scripts/funcpy&quot;&gt;funcpy&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;dates&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;calendar&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;cal -3&lt;/td&gt;&lt;td&gt;Display a calendar&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;cal 9 1752&lt;/td&gt;&lt;td&gt;Display a calendar for a particular month year&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;date -d fri&lt;/td&gt;&lt;td&gt;What date is it this friday. See also &lt;a href=&quot;http://www.pixelbeat.org/scripts/day&quot;&gt;day&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;[ $(date -d &quot;tomorrow&quot; +%d) = &quot;01&quot; ] || exit&lt;/td&gt;&lt;td&gt;exit a script unless it&#39;s the last day of the month&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;date --date=&#39;25 Dec&#39; +%A&lt;/td&gt;&lt;td&gt;What day does xmas fall on, this year&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;date --date=&#39;@2147483647&#39;&lt;/td&gt;&lt;td&gt;Convert seconds since the epoch (1970-01-01 UTC) to date&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;TZ=&#39;America/Los_Angeles&#39; date&lt;/td&gt;&lt;td&gt;What time is it on west coast of US (use tzselect to find TZ)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;date --date=&#39;TZ=&quot;America/Los_Angeles&quot; 09:00 next Fri&#39;&lt;/td&gt;&lt;td&gt;What&#39;s the local time for 9AM next Friday on west coast US&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;locale&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;locales&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;printf &quot;%&#39;d\n&quot; 1234&lt;/td&gt;&lt;td&gt;Print number with thousands grouping appropriate to locale&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;BLOCK_SIZE=\&#39;1 ls -l&lt;/td&gt;&lt;td&gt;Use locale thousands grouping in ls. See also &lt;a href=&quot;http://www.pixelbeat.org/scripts/l&quot;&gt;l&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;echo &quot;I live in `locale territory`&quot;&lt;/td&gt;&lt;td&gt;Extract info from locale database&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;LANG=en_IE.utf8 locale int_prefix&lt;/td&gt;&lt;td&gt;Lookup locale info for specific country. See also &lt;a href=&quot;http://www.pixelbeat.org/scripts/ccodes&quot;&gt;ccodes&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;locale | cut -d= -f1 | xargs locale -kc | less&lt;/td&gt;&lt;td&gt;List fields available in locale database&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;recode&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;recode&lt;/b&gt; (Obsoletes iconv, dos2unix, unix2dos)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;recode -l | less&lt;/td&gt;&lt;td&gt;Show available conversions (aliases on each line)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;recode windows-1252.. file_to_change.txt&lt;/td&gt;&lt;td&gt;Windows &quot;ansi&quot; to local charset (auto does CRLF conversion)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;recode utf-8/CRLF.. file_to_change.txt&lt;/td&gt;&lt;td&gt;Windows utf8 to local charset&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;recode iso-8859-15..utf8 file_to_change.txt&lt;/td&gt;&lt;td&gt;Latin9 (western europe) to utf8&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;recode ../b64 &lt;&gt; file.b64&lt;/td&gt;&lt;td&gt;Base64 encode&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;recode /qp.. &lt;&gt; file.txt&lt;/td&gt;&lt;td&gt;Quoted printable decode&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;recode ..HTML &lt;&gt; file.html&lt;/td&gt;&lt;td&gt;Text to HTML&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;recode -lf windows-1252 | grep euro&lt;/td&gt;&lt;td&gt;Lookup &lt;a href=&quot;http://www.pixelbeat.org/docs/utf8.html&quot;&gt;table of characters&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;echo -n 0x80 | recode latin-9/x1..dump&lt;/td&gt;&lt;td&gt;Show what a code represents in latin-9 charmap&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;echo -n 0x20AC | recode ucs-2/x2..latin-9/x&lt;/td&gt;&lt;td&gt;Show latin-9 encoding&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;echo -n 0x20AC | recode ucs-2/x2..utf-8/x&lt;/td&gt;&lt;td&gt;Show utf-8 encoding&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;CDs&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;&lt;acronym title=&quot;Compact Disks&quot;&gt;CDs&lt;/acronym&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;gzip &lt; /dev/cdrom &gt; cdrom.iso.gz&lt;/td&gt;&lt;td&gt;Save copy of data cdrom&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;mkisofs -V LABEL -r dir | gzip &gt; cdrom.iso.gz&lt;/td&gt;&lt;td&gt;Create cdrom image from contents of dir&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;mount -o loop cdrom.iso /mnt/dir&lt;/td&gt;&lt;td&gt;Mount the cdrom image at /mnt/dir (read only)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;cdrecord -v dev=/dev/cdrom blank=fast&lt;/td&gt;&lt;td&gt;Clear a CDRW&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;gzip -dc cdrom.iso.gz | cdrecord -v dev=/dev/cdrom -&lt;/td&gt;&lt;td&gt;Burn cdrom image (use dev=ATAPI -scanbus to confirm dev)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;cdparanoia -B&lt;/td&gt;&lt;td&gt;Rip audio tracks from CD to wav files in current dir&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;cdrecord -v dev=/dev/cdrom -audio -pad *.wav&lt;/td&gt;&lt;td&gt;Make audio CD from all wavs in current dir (see also cdrdao)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;oggenc --tracknum=&#39;track&#39; track.cdda.wav -o &#39;track.ogg&#39;&lt;/td&gt;&lt;td&gt;Make ogg file from wav file&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;disk_space&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;disk space&lt;/b&gt; (See also &lt;a href=&quot;http://www.pixelbeat.org/fslint/&quot;&gt;FSlint&lt;/a&gt;)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ls -lSr&lt;/td&gt;&lt;td&gt;Show files by size, biggest last&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;du -s * | sort -k1,1rn | head&lt;/td&gt;&lt;td&gt;Show top disk users in current dir. See also &lt;a href=&quot;http://www.pixelbeat.org/scripts/dutop&quot;&gt;dutop&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;du -hs /home/* | sort -k1,1&lt;acronym title=&quot;available since coreutils 7.5&quot;&gt;h&lt;/acronym&gt;&lt;/td&gt;&lt;td&gt;Sort paths by easy to interpret disk usage&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;df -h&lt;/td&gt;&lt;td&gt;Show free space on mounted filesystems&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;df -i&lt;/td&gt;&lt;td&gt;Show free inodes on mounted filesystems&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;acronym title=&quot;usually in /sbin/&quot;&gt;fdisk&lt;/acronym&gt; -l&lt;/td&gt;&lt;td&gt;Show disks partitions sizes and types (run as root)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;a href=&quot;http://www.pixelbeat.org/docs/packaging.html&quot;&gt;rpm&lt;/a&gt; -q -a --qf &#39;%10{SIZE}\t%{NAME}\n&#39; | sort -k1,1n&lt;/td&gt;&lt;td&gt;List all &lt;a href=&quot;http://www.pixelbeat.org/docs/packaging.html&quot;&gt;packages&lt;/a&gt; by installed size (Bytes) on rpm distros&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;a href=&quot;http://www.pixelbeat.org/docs/packaging.html&quot;&gt;dpkg&lt;/a&gt;-query -W -f=&#39;${Installed-Size;10}\t${Package}\n&#39; | sort -k1,1n&lt;/td&gt;&lt;td&gt;List all &lt;a href=&quot;http://www.pixelbeat.org/docs/packaging.html&quot;&gt;packages&lt;/a&gt; by installed size (KBytes) on deb distros&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;dd bs=1 seek=2TB if=/dev/null of=ext3.test&lt;/td&gt;&lt;td&gt;Create a large test file (taking no space). See also &lt;a href=&quot;http://www.pixelbeat.org/scripts/truncate&quot;&gt;truncate&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&gt; file&lt;/td&gt;&lt;td&gt;truncate data of file or create an empty file&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;monitor&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;monitoring/debugging&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;tail -f /var/log/messages&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.pixelbeat.org/docs/web/access_log/monitoring.html&quot;&gt;Monitor messages&lt;/a&gt; in a log file&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;strace -c ls &gt;/dev/null&lt;/td&gt;&lt;td&gt;Summarise/profile system calls made by command&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;strace -f -e open ls &gt;/dev/null&lt;/td&gt;&lt;td&gt;List system calls made by command&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ltrace -f -e getenv ls &gt;/dev/null&lt;/td&gt;&lt;td&gt;List library calls made by command&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;acronym title=&quot;usually in /usr/sbin/&quot;&gt;lsof&lt;/acronym&gt; -p &lt;acronym title=&quot;process id of current shell&quot;&gt;$$&lt;/acronym&gt;&lt;/td&gt;&lt;td&gt;List paths that process id has open&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;lsof ~&lt;/td&gt;&lt;td&gt;List processes that have specified path open&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;tcpdump not port 22&lt;/td&gt;&lt;td&gt;Show network traffic except ssh. See also &lt;a href=&quot;http://www.pixelbeat.org/scripts/tcpdump_not_me&quot;&gt;tcpdump_not_me&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ps -e -o pid,args --forest&lt;/td&gt;&lt;td&gt;List processes in a hierarchy&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed &#39;/^ 0.0 /d&#39;&lt;/td&gt;&lt;td&gt;List processes by % cpu usage&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS&lt;/td&gt;&lt;td&gt;List processes by mem (KB) usage. See also &lt;a href=&quot;http://www.pixelbeat.org/scripts/ps_mem.py&quot;&gt;ps_mem.py&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ps -C firefox-bin -L -o pid,tid,pcpu,state&lt;/td&gt;&lt;td&gt;List all threads for a particular process&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;ps -p 1,2&lt;/td&gt;&lt;td&gt;List info for particular process IDs&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;last reboot&lt;/td&gt;&lt;td&gt;Show system reboot history&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;free -m&lt;/td&gt;&lt;td&gt;Show amount of (remaining) RAM (-m displays in MB)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;watch -n.1 &#39;cat /proc/interrupts&#39;&lt;/td&gt;&lt;td&gt;Watch changeable data continuously&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;udevadm monitor&lt;/td&gt;&lt;td&gt;Monitor udev events to help configure rules&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;sysinfo&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;system information&lt;/b&gt; (see also &lt;a href=&quot;http://www.pixelbeat.org/scripts/sysinfo&quot;&gt;sysinfo&lt;/a&gt;) (&#39;#&#39; means root access is required)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;uname -a&lt;/td&gt;&lt;td&gt;Show kernel version and system architecture&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;head -n1 /etc/issue&lt;/td&gt;&lt;td&gt;Show name and version of distribution&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;cat /proc/partitions&lt;/td&gt;&lt;td&gt;Show all partitions registered on the system&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;grep MemTotal /proc/meminfo&lt;/td&gt;&lt;td&gt;Show RAM total seen by the system&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;grep &quot;model name&quot; /proc/cpuinfo&lt;/td&gt;&lt;td&gt;Show CPU(s) info&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;acronym title=&quot;usually in /sbin/&quot;&gt;lspci&lt;/acronym&gt; -tv&lt;/td&gt;&lt;td&gt;Show PCI info&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;acronym title=&quot;usually in /sbin/&quot;&gt;lsusb&lt;/acronym&gt; -tv&lt;/td&gt;&lt;td&gt;Show USB info&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;mount | column -t&lt;/td&gt;&lt;td&gt;List mounted filesystems on the system (and align output)&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;grep -F capacity: /proc/acpi/battery/BAT0/info&lt;/td&gt;&lt;td&gt;Show state of cells in laptop battery&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;#&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;dmidecode -q | less&lt;/td&gt;&lt;td&gt;Display SMBIOS/DMI information&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;#&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;smartctl -A /dev/sda | grep Power_On_Hours&lt;/td&gt;&lt;td&gt;How long has this disk (system) been powered on in total&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;#&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;hdparm -i /dev/sda&lt;/td&gt;&lt;td&gt;Show info about disk sda&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;#&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;hdparm -tT /dev/sda&lt;/td&gt;&lt;td&gt;Do a read speed test on disk sda&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;#&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;badblocks -s /dev/sda&lt;/td&gt;&lt;td&gt;Test for unreadable blocks on disk sda&lt;/td&gt;&lt;/tr&gt;  &lt;tr id=&quot;interactive&quot; class=&quot;pbtitle&quot;&gt;&lt;td colspan=&quot;3&quot;&gt;&lt;b&gt;interactive&lt;/b&gt; (see also &lt;a href=&quot;http://www.pixelbeat.org/lkdb/&quot;&gt;linux keyboard shortcuts)&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;a href=&quot;http://www.pixelbeat.org/lkdb/readline.html&quot;&gt;readline&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Line editor used by bash, python, bc, gnuplot, ...&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;a href=&quot;http://www.pixelbeat.org/lkdb/screen.html&quot;&gt;screen&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Virtual terminals with detach capability, ...&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;a href=&quot;http://www.pixelbeat.org/lkdb/mc.html&quot;&gt;mc&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Powerful file manager that can browse rpm, tar, ftp, ssh, ...&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;&lt;a href=&quot;http://www.pixelbeat.org/docs/web/access_log/analyzing.html&quot;&gt;gnuplot&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Interactive/scriptable graphing&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;links&lt;/td&gt;&lt;td&gt;Web browser&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;&lt;td&gt;•&lt;/td&gt;&lt;td class=&quot;nw&quot;&gt;xdg-open &lt;b&gt;.&lt;/b&gt;&lt;/td&gt;&lt;td&gt;open a file or url with the registered desktop application&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;Nota de la fuente:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Examples marked with • are valid/safe to paste without modification into a terminal, so&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt; you may want to keep a terminal window open while reading this so you can &lt;/span&gt;&lt;a style=&quot;font-style: italic;&quot; href=&quot;http://www.pixelbeat.org/docs/xclipboard.html&quot;&gt;cut &amp;amp; paste&lt;/a&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt; All these commands have been tested both on Fedora and Ubuntu.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Fuente: http://www.pixelbeat.org/cmdline.html&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Gracias a Patricia De León.&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/1756169781226985204/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2010/07/comandos-comunes-en-linux.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/1756169781226985204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/1756169781226985204'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2010/07/comandos-comunes-en-linux.html' title='Comandos comunes en Linux'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-8146930859915435859</id><published>2010-04-20T10:40:00.000-07:00</published><updated>2010-04-20T10:42:55.395-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="acid3"/><category scheme="http://www.blogger.com/atom/ns#" term="css3"/><category scheme="http://www.blogger.com/atom/ns#" term="html5"/><category scheme="http://www.blogger.com/atom/ns#" term="navegador"/><category scheme="http://www.blogger.com/atom/ns#" term="test"/><title type='text'>Compruebe la calidad de su navegador</title><content type='html'>Tres sencillos test que le brindará información muy relevante acerca de su navegador:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;HTML 5 Test: http://html5test.com/&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;CSS3 Test: http://www.css3.info/selectors-test/&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Acid 3 Test: http://acid3.acidtests.org/&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/8146930859915435859/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2010/04/compruebe-la-calidad-de-su-navegador.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/8146930859915435859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/8146930859915435859'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2010/04/compruebe-la-calidad-de-su-navegador.html' title='Compruebe la calidad de su navegador'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-604249363289435495</id><published>2010-02-01T12:34:00.001-08:00</published><updated>2010-07-12T07:40:41.821-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cola"/><category scheme="http://www.blogger.com/atom/ns#" term="delete"/><category scheme="http://www.blogger.com/atom/ns#" term="eliminar"/><category scheme="http://www.blogger.com/atom/ns#" term="exim"/><category scheme="http://www.blogger.com/atom/ns#" term="mails"/><category scheme="http://www.blogger.com/atom/ns#" term="queue"/><title type='text'>EXIM: Elimnar mails de la cola</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;;font-family:&#39;Times New Roman&#39;;font-size:medium;&quot;  &gt;&lt;div style=&quot;margin: 6px; padding: 0px; font-family: Verdana; font-size: 10pt; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); min-height: 1100px; counter-reset: __goog_page__ 0; line-height: normal;&quot;&gt;Para eliminar los mails con más de x horas en cola:&lt;div style=&quot;margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-bottom: 0px;&quot;&gt;24hs : &lt;span style=&quot;font-family:arial,sans-serif,verdana;&quot;&gt;exiqgrep -o 86400 -i | xargs exim -Mrm&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;font-family:arial,sans-serif,verdana;&quot;&gt;48hs  : exiqgrep -o 172800 -i | xargs exim -Mrm&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/604249363289435495/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2010/02/exim-elimnar-mails-de-la-cola.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/604249363289435495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/604249363289435495'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2010/02/exim-elimnar-mails-de-la-cola.html' title='EXIM: Elimnar mails de la cola'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-5677013767874773676</id><published>2009-12-30T14:04:00.003-08:00</published><updated>2009-12-30T14:04:55.917-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogs"/><category scheme="http://www.blogger.com/atom/ns#" term="managment"/><title type='text'>Blogs sobre managment.</title><content type='html'>Ranking de blogs sobre managment en español:&lt;div&gt;http://trompazos.blogspot.com/2009/12/ranking-de-blogs-sobre-direccion-de.html&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/5677013767874773676/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/blogs-sobre-managment.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/5677013767874773676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/5677013767874773676'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/blogs-sobre-managment.html' title='Blogs sobre managment.'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-4232869337698302482</id><published>2009-12-26T07:34:00.000-08:00</published><updated>2009-12-26T07:36:46.538-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="doc"/><category scheme="http://www.blogger.com/atom/ns#" term="google"/><category scheme="http://www.blogger.com/atom/ns#" term="riesgo"/><title type='text'>¿Podemos confiar en Google Docs?</title><content type='html'>Hoy, 26 de Diciembre necesito acceder de forma urgente a un documento que elaboré mediante Google Docs pero lamentablemente parece que el servicio no esta disponible temporalmente: &lt;a href=&quot;http://docs.google.com/support/bin/answer.py?answer=139840&amp;amp;hl=en&quot;&gt;http://docs.google.com/support/bin/answer.py?answer=139840&amp;amp;hl=en&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;¿Que sucedería si de este documento dependiera el éxito de un negocio?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/4232869337698302482/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/podemos-confiar-en-google-docs.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/4232869337698302482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/4232869337698302482'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/podemos-confiar-en-google-docs.html' title='¿Podemos confiar en Google Docs?'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-3293112285262215439</id><published>2009-12-26T07:22:00.000-08:00</published><updated>2009-12-26T07:26:25.195-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="casos"/><category scheme="http://www.blogger.com/atom/ns#" term="empresa"/><category scheme="http://www.blogger.com/atom/ns#" term="instituto"/><title type='text'>Casos abiertos al público en general</title><content type='html'>&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;    style=&quot;font-family:Arial, Helvetica, &#39;Nimbus Sans L&#39;, sans-serif;font-size:100%;color:#333333;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 15px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); font-size: 10px; line-height: 12px; &quot;&gt;&lt;h1 class=&quot;q&quot; style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-weight: normal; font-style: inherit; font-size: 16px; font-family: inherit; vertical-align: baseline; &quot;&gt;Casos del IE (Instituto Empresa) interactivos abiertos al público en general&lt;/h1&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;    style=&quot;font-family:Arial, Helvetica, &#39;Nimbus Sans L&#39;, sans-serif;font-size:100%;color:#333333;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, &#39;Nimbus Sans L&#39;, sans-serif; color: rgb(51, 51, 51); font-size: 13px; line-height: 15px; &quot;&gt;&lt;a href=&quot;http://www.linkedin.com/redirect?url=http%3A%2F%2Fopenmultimedia%2Eie%2Eedu%2Findex_i%2Ehtml&amp;amp;urlhash=yjoU&quot; target=&quot;_blank&quot; title=&quot;New window will open&quot; style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: initial; outline-style: none; outline-color: initial; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; text-decoration: underline; color: rgb(0, 102, 153); &quot;&gt;http://openmultimedia.ie.edu/index_i.html&lt;/a&gt; &lt;/span&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;    style=&quot;font-family:Arial, Helvetica, &#39;Nimbus Sans L&#39;, sans-serif;font-size:100%;color:#333333;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;    style=&quot;font-family:Arial, Helvetica, &#39;Nimbus Sans L&#39;, sans-serif;font-size:100%;color:#333333;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 15px;&quot;&gt;Gracias a &lt;a href=&quot;http://www.linkedin.com/profile?viewProfile=&amp;amp;key=44004475&amp;amp;authToken=s9qB&amp;amp;authType=name&amp;amp;goback=%2Emml_inbox_none_DATE_1%2Ehom&quot;&gt;Andres Cortijo&lt;/a&gt; por la información&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/3293112285262215439/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/casos-abiertos-al-publico-en-general.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/3293112285262215439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/3293112285262215439'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/casos-abiertos-al-publico-en-general.html' title='Casos abiertos al público en general'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-7092483279629982422</id><published>2009-12-23T09:16:00.000-08:00</published><updated>2009-12-23T09:17:34.247-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="frase"/><category scheme="http://www.blogger.com/atom/ns#" term="talento"/><title type='text'>Frase</title><content type='html'>&lt;h3 style=&quot;font-style: italic;&quot;&gt;&quot;el talento&quot; asusta...todos decimos que lo buscamos, pero en realidad nos protegemos de el ....no sea que nos quiten el puesto....&lt;/h3&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;a href=&quot;http://www.linkedin.com/profile?viewProfile=&amp;amp;key=58895090&amp;amp;authToken=zIcT&amp;amp;authType=name&amp;amp;goback=%2Emyg&quot; class=&quot;fn&quot; title=&quot;Ver el perfil de José Cuni López&quot;&gt;José Cuni López&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/7092483279629982422/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/frase.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/7092483279629982422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/7092483279629982422'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/frase.html' title='Frase'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-294836916584743073</id><published>2009-12-23T09:12:00.000-08:00</published><updated>2009-12-23T09:13:44.270-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="frases"/><category scheme="http://www.blogger.com/atom/ns#" term="talento"/><title type='text'>Frases</title><content type='html'>&lt;span style=&quot;font-style: italic;&quot;&gt;Desde hace ya tiempo las empresas no seleccionan, es el empleado el que selecciona a la empresa (hablamos del talento, no del que quiere colocarse). &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;a href=&quot;http://www.linkedin.com/profile?viewProfile=&amp;amp;key=34299947&amp;amp;authToken=OTTe&amp;amp;authType=name&amp;amp;goback=%2Emyg&quot;&gt;Antonio Ibáñez Martínez&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/294836916584743073/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/frases.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/294836916584743073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/294836916584743073'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/frases.html' title='Frases'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-6517097763396767433</id><published>2009-12-23T03:50:00.000-08:00</published><updated>2009-12-23T03:51:14.910-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="led"/><category scheme="http://www.blogger.com/atom/ns#" term="televisor"/><category scheme="http://www.blogger.com/atom/ns#" term="tv"/><title type='text'>Televisores LED - ¿Cómo funcionan?</title><content type='html'>http://www.xataka.com/televisores/guia-para-entender-los-televisores-led&lt;br /&gt;Gracias a Carlos Gagliardi por el link.</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/6517097763396767433/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/televisores-led-como-funcionan.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/6517097763396767433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/6517097763396767433'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/televisores-led-como-funcionan.html' title='Televisores LED - ¿Cómo funcionan?'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-5568263258719228261</id><published>2009-12-21T07:41:00.001-08:00</published><updated>2010-01-05T09:08:24.816-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="artistic"/><category scheme="http://www.blogger.com/atom/ns#" term="bsd"/><category scheme="http://www.blogger.com/atom/ns#" term="gnu"/><category scheme="http://www.blogger.com/atom/ns#" term="gpl"/><category scheme="http://www.blogger.com/atom/ns#" term="lgpl"/><category scheme="http://www.blogger.com/atom/ns#" term="licencia"/><category scheme="http://www.blogger.com/atom/ns#" term="mit"/><category scheme="http://www.blogger.com/atom/ns#" term="mozilla"/><title type='text'>Tipos de Licencias</title><content type='html'>A continuación presento las licencias más populares en el mundo del software libre.&lt;br /&gt;Así mismo intento responder a las preguntas más comunes para ayudarlo a elegir la mejor para su proyecto.&lt;br /&gt;&lt;br /&gt;Antes de tomar una decisión, ingrese a la web de la licencia que le parezca más apropiada y asegúrese que realmente le conviene. Aclaro esto porque aquí presento respuestas a las preguntas más frecuentes pero no incluyo todas las normas que las definen.&lt;br /&gt;&lt;br /&gt;Nota: Este es un trabajo que estoy haciendo muy despacito, cada tanto iré actualizando la lista e incorporando información. Si deseas contribuir simplemente agrega comentarios y yo incorporaré la información al post. Gracias.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;Apache License V2.0&lt;/span&gt;&lt;br /&gt;Web: &lt;a style=&quot;font-style: italic;&quot; href=&quot;http://www.apache.org/licenses/LICENSE-2.0&quot;&gt;http://www.apache.org/licenses/LICENSE-2.0&lt;/a&gt;&lt;br /&gt;Permite modificarlo: SI&lt;br /&gt;Permite utilizar marcas, nombres registrados, etc..: NO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;New BSD License&lt;/span&gt;&lt;br /&gt;Web: &lt;a style=&quot;font-style: italic;&quot; href=&quot;http://www.opensource.org/licenses/bsd-license.php&quot;&gt;http://www.opensource.org/licenses/bsd-license.php&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;GNU General Public License v2&lt;/span&gt;&lt;br /&gt;Web: &lt;a style=&quot;font-style: italic;&quot; href=&quot;http://www.gnu.org/licenses/old-licenses/gpl-2.0.html&quot;&gt;http://www.gnu.org/licenses/old-licenses/gpl-2.0.html&lt;/a&gt;&lt;br /&gt;Permite incluirlo en sofware propietario: NO&lt;br /&gt;Permite comercializar su distribución: SI&lt;br /&gt;Se limita el precio de distribución: NO (*)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;GNU General Public License v3&lt;/span&gt;&lt;br /&gt;Web: &lt;a style=&quot;font-style: italic;&quot; href=&quot;http://www.gnu.org/licenses/gpl.html&quot;&gt;http://www.gnu.org/licenses/gpl.html&lt;/a&gt;&lt;br /&gt;Permite incluirlo en sofware propietario: NO&lt;br /&gt;Permite comercializar su distribución: SI&lt;br /&gt;Se limita el precio de distribución: NO (*)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;GNU Lesser General Public License&lt;/span&gt;&lt;br /&gt;Web: &lt;a style=&quot;font-style: italic;&quot; href=&quot;http://www.gnu.org/licenses/lgpl.html&quot;&gt;http://www.gnu.org/licenses/lgpl.html&lt;/a&gt;&lt;br /&gt;Permite incluirlo en sofware propietario: SI&lt;br /&gt;Permite comercializar su distribución: SI&lt;br /&gt;Se limita el precio de distribución: NO (*)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Mozilla Public License 1.1&lt;/span&gt;&lt;br /&gt;Web: &lt;a style=&quot;font-style: italic;&quot; href=&quot;http://www.mozilla.org/MPL/&quot;&gt;http://www.mozilla.org/MPL/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;MIT License&lt;/span&gt;&lt;br /&gt;Web: &lt;a style=&quot;font-style: italic;&quot; href=&quot;http://www.opensource.org/licenses/mit-license.php&quot;&gt;http://www.opensource.org/licenses/mit-license.php&lt;/a&gt;&lt;br /&gt;Permite incluirlo en sofware propietario: SI&lt;br /&gt;Permite comercializar su distribución: SI&lt;br /&gt;Se limita el precio de distribución: NO (*)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Artistic License/GPL&lt;/span&gt;&lt;br /&gt;Web: &lt;a style=&quot;font-style: italic;&quot; href=&quot;http://dev.perl.org/licenses/&quot;&gt;http://dev.perl.org/licenses/&lt;/a&gt;, &lt;a href=&quot;http://dev.perl.org/licenses/artistic.html&quot;&gt;http://dev.perl.org/licenses/artistic.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Notas:&lt;br /&gt;* : Permite la comercialización de la distribución sin un precio máximo, es decir, puedes vender el software creado bajo esta licencia al precio que quiera.</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/5568263258719228261/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/tipos-de-licencias.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/5568263258719228261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/5568263258719228261'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/tipos-de-licencias.html' title='Tipos de Licencias'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-4627954822970327629</id><published>2009-12-17T18:11:00.000-08:00</published><updated>2009-12-17T18:13:12.145-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sixthsense"/><title type='text'>SixthSense -  integrating information with the real world</title><content type='html'>http://www.pranavmistry.com/projects/sixthsense/</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/4627954822970327629/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/sixthsense-integrating-information-with.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/4627954822970327629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/4627954822970327629'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/sixthsense-integrating-information-with.html' title='SixthSense -  integrating information with the real world'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-2574523350118264002</id><published>2009-12-17T08:10:00.000-08:00</published><updated>2009-12-17T08:11:27.549-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="google"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="os"/><title type='text'>Google Chrome para Mac OS</title><content type='html'>http://www.google.com/chrome?platform=mac</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/2574523350118264002/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/google-chrome-para-mac-os.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/2574523350118264002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/2574523350118264002'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/google-chrome-para-mac-os.html' title='Google Chrome para Mac OS'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-719313653767568108</id><published>2009-12-17T08:06:00.001-08:00</published><updated>2009-12-17T08:10:38.843-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="google"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Google Chrome para Linux</title><content type='html'>http://www.google.com/chrome?platform=linux</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/719313653767568108/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/google-chrome-para-linux.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/719313653767568108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/719313653767568108'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/google-chrome-para-linux.html' title='Google Chrome para Linux'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-7948338522844610524</id><published>2009-12-09T05:36:00.000-08:00</published><updated>2009-12-09T05:38:25.450-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="files"/><category scheme="http://www.blogger.com/atom/ns#" term="jar"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="Tika"/><title type='text'>JAVA: Tika - Archivos JAR</title><content type='html'>Me costó bastante encontrar los JAR de la versión 0.5 de Tika por lo que les dejo el link.&lt;br /&gt;&lt;br /&gt;http://svn.apache.org/repos/asf/lucene/solr/trunk/contrib/extraction/lib/</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/7948338522844610524/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/java-tika-archivos-jar.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/7948338522844610524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/7948338522844610524'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/java-tika-archivos-jar.html' title='JAVA: Tika - Archivos JAR'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-8848645189500986771</id><published>2009-12-05T14:18:00.001-08:00</published><updated>2009-12-05T14:33:47.825-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cpanel"/><category scheme="http://www.blogger.com/atom/ns#" term="cron"/><category scheme="http://www.blogger.com/atom/ns#" term="crontab"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>PHP /  CPANEL - Cómo ejecutar un php cada determinado tiempo (Cron)</title><content type='html'>Ingrese a su panel de control CPANEL&lt;br /&gt;Seleccione Cron Jobs&lt;br /&gt;Utilice la versión normal (no la avanzada)&lt;br /&gt;Ingrese la siguiente línea para ejecutar su php:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;php /home/usuario/www/carpeta/archivo.php&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;&lt;br /&gt;Note el espacio luego de la palabra php&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Seleccione el período y listo!.&lt;br /&gt;&lt;br /&gt;Algunos tips:&lt;br /&gt;&lt;br /&gt;- Si utiliza el parámetro -q evitará que genere la salida html, es decir, el php no imprimirá el resultado (quiet mode).&lt;br /&gt;Se utiliza de la siguiente forma:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;php -q /home/usuario/www/carpeta/archivo.php&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- Si necesita pasar parámetros a su php via GET debe hacerlo añadiendo los valores luego del comando de la siguiente forma:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;php -q /home/usuario/www/carpeta/archivo.php &quot;valor1&quot; &quot;valor2&quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note que en ningún momento define el nombre del parámetro, solo el valor por lo que en su php deberá recuperarlos de la siguiente forma:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;$var1=$_SERVER[&quot;argv&quot;][1];&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;$var2=$_SERVER[&quot;argv&quot;][2];&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;De este modo la variable $&lt;span style=&quot;font-family: courier new;&quot;&gt;var1&lt;/span&gt; tendrá como valor &lt;span style=&quot;font-family: courier new;&quot;&gt;valor1&lt;/span&gt; y de la misma forma la variable $&lt;span style=&quot;font-family: courier new;&quot;&gt;var2&lt;/span&gt; tendrá &lt;span style=&quot;font-family: courier new;&quot;&gt;valor2&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;- La última recomendación. Luego de definir el comando desde el modo normal ingrese al modo avanzado de Cron Jobs para conocer como se configura en Linux. Esto es importante para el día de mañana poder independizarse de CPANEL y hacerlo directamente sobre Linux.&lt;br /&gt;&lt;br /&gt;Nota: Si llegó a este artículo y no utiliza CPANEL busque en google: CRONTAB para conocer como definir que se ejecute su php mediane un Cron Job.&lt;br /&gt;Tenga en cuenta que todo lo referido al comando se aplica tanto para CPANEL como para CRONTAB ya que CPANEL simplemente ofrece una interfaz más amigable que la que ofrece Linux pero internamente CPANEL le ahorra conocer detalles sobre el CRONTAB, nada más.</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/8848645189500986771/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/php-cpanel-como-ejecutar-un-php-cada.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/8848645189500986771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/8848645189500986771'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/12/php-cpanel-como-ejecutar-un-php-cada.html' title='PHP /  CPANEL - Cómo ejecutar un php cada determinado tiempo (Cron)'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-5907582943518681894</id><published>2009-11-25T07:58:00.000-08:00</published><updated>2009-11-25T07:59:12.921-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="buscar"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="reemplazar"/><title type='text'>LINUX: Buscar y reemplazar</title><content type='html'>&lt;pre  wrap=&quot;&quot; style=&quot;font-family:arial;&quot;&gt;Para reemplazar todas las cadenas &lt;span style=&quot;font-style: italic;&quot;&gt;cadena1&lt;/span&gt; por &lt;span style=&quot;font-style: italic;&quot;&gt;cadena2&lt;/span&gt; en todos los archivos ejecute:&lt;br /&gt;&lt;br /&gt;grep -ril cadena1 * | xargs perl -pi -i.bak -e &quot;s@cadena1@cadena2@g&quot;;&lt;br /&gt;&lt;br /&gt;Nota: Los @ son separadores, puede utilizar otros caracteres teniendo en cuenta que el mismo no perteneza a la cadena buscada o escape en la cadena dicho caracter.&lt;br /&gt;&lt;br /&gt;Por ejemplo:&lt;br /&gt;&lt;br /&gt;Si su separador es @ y su cadena a buscar es @dominio.com debería escaparlo de la siguiente manera:&lt;br /&gt;grep -ril cadena1 * | xargs perl -pi -i.bak -e &quot;s@\@dominio.com@cadena2@g&quot;;  (Note la \ antes de la @)&lt;br /&gt;&lt;br /&gt;Este comando genera archivos .bak (respaldos), si todo ha salido bien ejecute el siguiente comando para eliminarlos:&lt;br /&gt;&lt;br /&gt;find -name \*.bak | xargs rm -f {} \;&lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/5907582943518681894/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/11/linux-buscar-y-reemplazar.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/5907582943518681894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/5907582943518681894'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/11/linux-buscar-y-reemplazar.html' title='LINUX: Buscar y reemplazar'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-2706766246044278023</id><published>2009-11-24T04:12:00.000-08:00</published><updated>2009-11-24T04:14:29.817-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="archivo"/><category scheme="http://www.blogger.com/atom/ns#" term="buscar"/><category scheme="http://www.blogger.com/atom/ns#" term="cadena"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Linux: Buscar cadena dentro de archivo</title><content type='html'>El siguiente comando devuelve las líneas del archivo que contienen la cadena especificada.&lt;br /&gt;find &quot;archivo&quot; -type f | xargs grep &quot;cadena&quot;&lt;br /&gt;&lt;br /&gt;Para buscar en todos los archivos:&lt;br /&gt;find &quot;*.*&quot; -type f | xargs grep &quot;cadena&quot;&lt;br /&gt;&lt;br /&gt;Para guardar el resultado en un archivo:&lt;br /&gt;find &quot;archivo&quot; -type f | xargs grep &quot;cadena&quot; &gt; resultado.txt</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/2706766246044278023/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/11/linux-buscar-cadena-dentro-de-archivo.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/2706766246044278023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/2706766246044278023'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/11/linux-buscar-cadena-dentro-de-archivo.html' title='Linux: Buscar cadena dentro de archivo'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-2417256737726371310</id><published>2009-11-19T10:36:00.000-08:00</published><updated>2009-11-19T10:37:11.534-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hash"/><category scheme="http://www.blogger.com/atom/ns#" term="hashmap"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>JAVA: Recorrer un HashMap</title><content type='html'>&lt;span&gt;Iterator it = hashMap.entrySet().iterator();&lt;br /&gt;       while (it.hasNext()) {&lt;br /&gt;       Map.Entry e = (Map.Entry)it.next();&lt;br /&gt;       System.out.println(e.getKey() + &quot; &quot; + e.getValue());&lt;br /&gt;       }&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/2417256737726371310/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/11/java-recorrer-un-hashmap.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/2417256737726371310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/2417256737726371310'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/11/java-recorrer-un-hashmap.html' title='JAVA: Recorrer un HashMap'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-8841903255032514685</id><published>2009-11-17T14:55:00.000-08:00</published><updated>2009-12-14T13:59:44.544-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="vhost"/><title type='text'>Sitios web en ubuntu</title><content type='html'>1. Diríjase al directorio /etc/apache2/sites-available&lt;br /&gt;2. Clone el archivo default&lt;br /&gt;3. Edite el archivo clon indicando las particularidades de su sitio web&lt;br /&gt;4. Guarde el archivo&lt;br /&gt;5. Ejecute: sudo a2ensite&lt;br /&gt;(Cuando le pregunte que sitios desea activar tipee * y presione Enter)&lt;br /&gt;6. Reinicie apache: /etc/init.d/apache2 restart</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/8841903255032514685/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/11/sitios-web-en-ubuntu.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/8841903255032514685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/8841903255032514685'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/11/sitios-web-en-ubuntu.html' title='Sitios web en ubuntu'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-1764150705195553678</id><published>2009-11-15T13:48:00.001-08:00</published><updated>2009-11-15T13:49:14.814-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="client"/><category scheme="http://www.blogger.com/atom/ns#" term="cliente"/><category scheme="http://www.blogger.com/atom/ns#" term="free"/><category scheme="http://www.blogger.com/atom/ns#" term="gratis"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="MySQL"/><title type='text'>Cliente MySQL para Linux</title><content type='html'>Estuve probando varios y encontré uno muy interesante: Navicat.&lt;br /&gt;Aquí se lo pueden bajar:&lt;br /&gt;http://navicat.com/download/download.html</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/1764150705195553678/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/11/cliente-mysql-para-linux.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/1764150705195553678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/1764150705195553678'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/11/cliente-mysql-para-linux.html' title='Cliente MySQL para Linux'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-8251510725673950308</id><published>2009-10-12T14:36:00.000-07:00</published><updated>2009-10-12T14:40:19.657-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".sql"/><category scheme="http://www.blogger.com/atom/ns#" term="base de datos"/><category scheme="http://www.blogger.com/atom/ns#" term="MySQL"/><category scheme="http://www.blogger.com/atom/ns#" term="recuperación"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>MySQL: Recuperar una base de datos a partir de un archivo .SQL</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: verdana, arial, sans-serif; font-size: 11px; &quot;&gt;&lt;div&gt;Ejecute:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;mysql -uusuario -pcontraseña basededatos &lt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 13px; color: rgb(51, 51, 51); line-height: 18px; &quot;&gt;archivo.sql&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;    style=&quot;font-family:&#39;courier new&#39;;font-size:100%;color:#333333;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;    style=&quot;font-family:&#39;courier new&#39;;font-size:100%;color:#333333;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; &quot;&gt;Tenga en cuenta que&lt;span style=&quot;font-family: &#39;courier new&#39;; &quot;&gt; -uusuario&lt;/span&gt; no es un error sino que debe indicar con&lt;span style=&quot;font-family: &#39;courier new&#39;; &quot;&gt; -u &lt;/span&gt;el usuario con privilegios suficientes para obtener los datos y el nombre del usuario se indica inmediatamente despues , es decir, sin espacios.&lt;br /&gt;Ejemplo: &lt;span style=&quot;font-family: &#39;courier new&#39;; &quot;&gt;-uroot&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;De forma similar sucede con la contraseña.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;    style=&quot;font-family:&#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif;font-size:100%;color:#333333;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;    style=&quot;font-family:&#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif;font-size:100%;color:#333333;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 18px;&quot;&gt;Pre requisitos: La base de datos debe existir y el usuario debe tener autorización para crear tablas, realizar inserciones, etc... &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/8251510725673950308/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/10/mysql-recuperar-una-base-de-datos.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/8251510725673950308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/8251510725673950308'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/10/mysql-recuperar-una-base-de-datos.html' title='MySQL: Recuperar una base de datos a partir de un archivo .SQL'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-3224284836157621363</id><published>2009-09-25T16:23:00.000-07:00</published><updated>2009-09-25T16:24:53.266-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="caracter"/><category scheme="http://www.blogger.com/atom/ns#" term="eliminar"/><category scheme="http://www.blogger.com/atom/ns#" term="palabra"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="última"/><category scheme="http://www.blogger.com/atom/ns#" term="último"/><title type='text'>PHP: Eliminar el último caracter de una cadena</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap; &quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 187); &quot;&gt;$cadena &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 119, 0); &quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 187); &quot;&gt;substr &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 119, 0); &quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 187); &quot;&gt;$cadena&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 119, 0); &quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 187); &quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 119, 0); &quot;&gt;, -&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 187); &quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 119, 0); &quot;&gt;);&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/3224284836157621363/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/09/php-eliminar-el-ultimo-caracter-de-una.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/3224284836157621363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/3224284836157621363'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/09/php-eliminar-el-ultimo-caracter-de-una.html' title='PHP: Eliminar el último caracter de una cadena'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407327322051142248.post-7699571538339437764</id><published>2009-09-14T06:37:00.000-07:00</published><updated>2009-09-14T06:38:51.590-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="beans"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="jsp"/><category scheme="http://www.blogger.com/atom/ns#" term="servlets"/><title type='text'>JAVA: Comunicación entre Servlets y JSP</title><content type='html'>Estoy planeando escribir un post sobre este tema y recolectando fuentes interesantes:&lt;br /&gt;&lt;br /&gt;http://www.stardeveloper.com/articles/display.html?article=2001072001&amp;amp;page=1&lt;br /&gt;http://www.forosdelweb.com/f45/servlets-java-bean-703216/</content><link rel='replies' type='application/atom+xml' href='http://miramosgenerales.blogspot.com/feeds/7699571538339437764/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://miramosgenerales.blogspot.com/2009/09/java-comunicacion-entre-servlets-y-jsp.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/7699571538339437764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407327322051142248/posts/default/7699571538339437764'/><link rel='alternate' type='text/html' href='http://miramosgenerales.blogspot.com/2009/09/java-comunicacion-entre-servlets-y-jsp.html' title='JAVA: Comunicación entre Servlets y JSP'/><author><name>Javier Rodríguez</name><uri>http://www.blogger.com/profile/15741056847365645778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>