<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkAGRHg9fip7ImA9WhRXE08.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218</id><updated>2011-12-19T13:05:25.666-08:00</updated><category term="Red Hat" /><category term="Xen" /><category term="Fedora Core" /><category term="drift" /><category term="Novell" /><category term="DNS" /><category term="SQL" /><category term="vg" /><category term="dom0" /><category term="chkconfig" /><category term="dd" /><category term="nmblookup" /><category term="Lexmark Z645" /><category term="webmin" /><category term="mocha" /><category term="wodim" /><category term="cups" /><category term="Windows" /><category term="date" /><category term="sed" /><category term="ip" /><category term="mutt" /><category term="tail" /><category term="nettl" /><category term="wall" /><category term="HP UX" /><category term="wireless interface" /><category term="yum" /><category term="lvm2" /><category term="virtual users" /><category term="gem" /><category term="dhcpd" /><category term="hostname" /><category term="grep" /><category term="TiVO" /><category term="Solaris" /><category term="Prodigy" /><category term="link" /><category term="email" /><category term="blogger. javascript. html" /><category term="QEMU" /><category term="bzip2" /><category term="compose email" /><category term="bzip" /><category term="crontab" /><category term="{a..z}" /><category term="bind" /><category term="sort" /><category term="IBM" /><category term="Z645" /><category term="xfs" /><category term="useradd" /><category term="echoe" /><category term="VMWare" /><category term="MythTV" /><category term="host" /><category term="java" /><category term="mysql" /><category term="vcpu-pin" /><category term="CentOS" /><category term="AirVideo Server" /><category term="Wireshark" /><category term="Custom commands" /><category term="lsmod" /><category term="ripping CDs" /><category term="ffmpeg" /><category term="df" /><category term="Legato" /><category term="FreeBSD" /><category term="rubygems" /><category term="dig" /><category term="SuSE" /><category term="bash" /><category term="backup DVD collection" /><category term="device drivers for Linux" /><category term="echo" /><category term="Splunk" /><category term="pkgadd" /><category term="init 3" /><category term="PostgreSQL" /><category term="align" /><category term="whois" /><category term="Lexmark" /><category term="/var/run" /><category term="shutdown" /><category term="modinfo" /><category term="Netscape" /><category term="nslookup" /><category term="udev" /><category term="cat" /><category term="update-rc.d-insserv" /><category term="print heads" /><category term="db_load" /><category term="encryption bypass" /><category term="ruby" /><category term="CDROM mount" /><category term="Unix" /><category term="domU" /><category term="tcpdump" /><category term="Netflix" /><category term="vobcopy" /><category term="grub" /><category term="iPad 2" /><category term="bootloader" /><category term="pv" /><category term="NTP" /><category term="ISO" /><category term="xargs" /><category term="xfs_freeze" /><category term="uniq" /><category term="phpldapadmin" /><category term="gzip" /><category term="terracotta" /><category term="kill" /><category term="rpm" /><category term="BYUI" /><category term="for loops" /><category term="sleep" /><category term="KVM" /><category term="vsftpd" /><category term="sftpd" /><category term="find" /><category term="ldap" /><category term="xm" /><category term="Bootup after.local before.local startup runlevel" /><category term="shell" /><category term="swinstall" /><category term="cut" /><category term="Yast" /><category term="telnet" /><category term="script" /><category term="comment lines" /><category term="backup MySQL database" /><category term="slapd" /><category term="chmod" /><category term="head" /><category term="Mythweb" /><category term="virt-clone" /><category term="He-Man" /><category term="rake" /><category term="named" /><category term="avoiding database corruption" /><category term="openSuSE" /><category term="Linux/Unix Society" /><category term="AoE" /><category term="init" /><category term="Seinfeld" /><category term="slurpd" /><category term="restore MySQL database" /><category term="vi" /><category term="usb" /><category term="Debian" /><category term="Networker" /><category term="Rexburg Idaho" /><category term="mount" /><category term="rc.local" /><category term="files" /><category term="name" /><category term="ssh" /><category term="Roku" /><category term="YouTube" /><category term="lv" /><category term="openldap" /><category term="{1..10}" /><category term="tar" /><category term="ripping DVDs" /><category term="replace" /><category term="du" /><category term="DVD mount" /><category term="lpr" /><category term="wireless" /><category term="vacuumdb" /><category term="system-config" /><category term="Linux" /><category term="cap" /><category term="administration" /><category term="kernel" /><category term="tag cloud generator" /><category term="Ubuntu" /><category term="command line" /><category term="dmidecode" /><category term="capistrano" /><category term="ftp" /><category term="replication" /><category term="repair MySQL database" /><category term="kickstart" /><category term="clean" /><category term="zip" /><category term="/etc/HOSTNAME" /><category term="PID" /><category term="Coraid" /><title>Masters of the Linux Universe</title><subtitle type="html">This is a repository of all of my Linux/Unix writings as well as useful tips and tricks for sysadmin and systems engineering.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://mastersofthelinuxuniverse.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>81</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/MastersOfTheLinuxUniverse" /><feedburner:info uri="mastersofthelinuxuniverse" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DEAMQX4_fSp7ImA9WhRQGEU.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-2802241016781933888</id><published>2011-12-14T10:16:00.000-08:00</published><updated>2011-12-14T10:19:40.045-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-14T10:19:40.045-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat" /><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="chmod" /><category scheme="http://www.blogger.com/atom/ns#" term="chkconfig" /><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="init" /><title>Make script compatible with chkconfig</title><content type="html">To make an init script compatible with chkconfig (to autostart on next runlevel change), add the following header to your script within it's /etc/init.d/ file, for example, /etc/init.d/myscript&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# myscript &amp;nbsp;&amp;nbsp;&amp;nbsp; init script to manage myserver &lt;br /&gt;
#&lt;br /&gt;
# chkconfig: 2345 90 35&lt;br /&gt;
# description: A server which does amazing things.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, add it with these commands:&lt;br /&gt;
&lt;br /&gt;
/bin/chmod +x&amp;nbsp; /etc/init.d/myscript&lt;br /&gt;
/sbin/chkconfig myscript --add&lt;br /&gt;
/sbin/chkconfig myscript on &lt;br /&gt;
/sbin/chkconfig myscript --list&lt;br /&gt;
myserver&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 0:off&amp;nbsp;&amp;nbsp;&amp;nbsp; 1:off&amp;nbsp;&amp;nbsp;&amp;nbsp; 2:on&amp;nbsp;&amp;nbsp;&amp;nbsp; 3:on&amp;nbsp;&amp;nbsp;&amp;nbsp; 4:on&amp;nbsp;&amp;nbsp;&amp;nbsp; 5:on&amp;nbsp;&amp;nbsp;&amp;nbsp; 6:off&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Within the chkconfig definition line, 2345 means the runlevels it will be started under, and 90 35 are the start and kill priorities, an integer between 0 and 99.&amp;nbsp; In this example, it would be started as one of the last services, and killed (stopped) as one of the earlier processes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-2802241016781933888?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vquuujrwEsNnJlMUiAAU8jAcskY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vquuujrwEsNnJlMUiAAU8jAcskY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vquuujrwEsNnJlMUiAAU8jAcskY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vquuujrwEsNnJlMUiAAU8jAcskY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/3wYJfCYMy_g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/2802241016781933888/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=2802241016781933888" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/2802241016781933888?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/2802241016781933888?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/3wYJfCYMy_g/make-script-compatible-with-chkconfig.html" title="Make script compatible with chkconfig" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2011/12/make-script-compatible-with-chkconfig.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkEBSXg4fip7ImA9WhRRFk0.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-8077555921051735622</id><published>2011-11-29T13:04:00.000-08:00</published><updated>2011-11-29T13:04:18.636-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-29T13:04:18.636-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="cat" /><category scheme="http://www.blogger.com/atom/ns#" term="/var/run" /><category scheme="http://www.blogger.com/atom/ns#" term="PID" /><category scheme="http://www.blogger.com/atom/ns#" term="kill" /><title>Just kill the process</title><content type="html">/bin/kill -9 `/bin/cat /var/run/snmpd.pid`&lt;br /&gt;
&lt;br /&gt;
To kill just the PID reported by the process as the active PID (with a shotgun, -9) and nothing else, use this shortcut.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-8077555921051735622?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rG-iMnGS1_RWVtbenPAocDBPvL0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rG-iMnGS1_RWVtbenPAocDBPvL0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rG-iMnGS1_RWVtbenPAocDBPvL0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rG-iMnGS1_RWVtbenPAocDBPvL0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/uP_88E3tMOw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/8077555921051735622/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=8077555921051735622" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/8077555921051735622?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/8077555921051735622?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/uP_88E3tMOw/just-kill-process.html" title="Just kill the process" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2011/11/just-kill-process.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYAQHs6fyp7ImA9WhRTE0k.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-8111465964136130394</id><published>2011-11-03T12:22:00.000-07:00</published><updated>2011-11-03T12:22:21.517-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-03T12:22:21.517-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sed" /><title>sed add line at end of file</title><content type="html">If you want to add a a line of text to the end of a file, and want to do the edit in place, use this syntax:&lt;br /&gt;
&lt;br /&gt;
sed -i '$ a\This is some sample text.'&amp;nbsp; /foo/bar&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-8111465964136130394?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rO0rfUqrGfeiwKFHng7WcABXH4E/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rO0rfUqrGfeiwKFHng7WcABXH4E/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rO0rfUqrGfeiwKFHng7WcABXH4E/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rO0rfUqrGfeiwKFHng7WcABXH4E/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/ouONbZYERac" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/8111465964136130394/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=8111465964136130394" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/8111465964136130394?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/8111465964136130394?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/ouONbZYERac/sed-add-line-at-end-of-file.html" title="sed add line at end of file" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2011/11/sed-add-line-at-end-of-file.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUNQH0-fip7ImA9WhRTEEU.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-890294886022829328</id><published>2011-10-31T11:38:00.000-07:00</published><updated>2011-10-31T11:38:11.356-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-31T11:38:11.356-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mysql" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Visual explanation of SQL joins</title><content type="html">I wish I had these pictures in my head when I started learning about joins in SQL.&amp;nbsp; Might have been a DBA instead of a systems engineer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.codinghorror.com/blog/2007/10/a-visual-explanation-of-sql-joins.html"&gt;http://www.codinghorror.com/blog/2007/10/a-visual-explanation-of-sql-joins.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-890294886022829328?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6CkpAkoGhfRNJyQ1TiyIbNb9fo4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6CkpAkoGhfRNJyQ1TiyIbNb9fo4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6CkpAkoGhfRNJyQ1TiyIbNb9fo4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6CkpAkoGhfRNJyQ1TiyIbNb9fo4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/wmd7fYF6_i8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/890294886022829328/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=890294886022829328" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/890294886022829328?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/890294886022829328?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/wmd7fYF6_i8/visual-explanation-of-sql-joins.html" title="Visual explanation of SQL joins" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2011/10/visual-explanation-of-sql-joins.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUAQ386fCp7ImA9WhdbEkw.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-7860328691148998659</id><published>2011-10-09T20:24:00.000-07:00</published><updated>2011-10-09T20:27:22.114-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-09T20:27:22.114-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="iPad 2" /><category scheme="http://www.blogger.com/atom/ns#" term="udev" /><category scheme="http://www.blogger.com/atom/ns#" term="usb" /><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu" /><title>Charge iPad or iPad2 over usb in Linux</title><content type="html">First, follow these instructions:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://korenkov.info/ipad-ipad2-charge-ubuntu"&gt;http://korenkov.info/ipad-ipad2-charge-ubuntu&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
For later versions of udev (I tested this on Ubuntu 11.04),  make sure that /etc/udev/rules.d/95-ipad_charge.rules looks like the following examples.&lt;br /&gt;
&lt;br /&gt;
For iPad: &lt;br /&gt;
&lt;br /&gt;
ENV{DEVTYPE}=="usb_device",  ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="05ac",  ATTRS{idProduct}=="129a", RUN+="/usr/bin/ipad_charge"&lt;br /&gt;
&lt;br /&gt;
For iPad2:&lt;br /&gt;
&lt;br /&gt;
ENV{DEVTYPE}=="usb_device",  ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="05ac",  ATTRS{idProduct}=="129f", RUN+="/usr/bin/ipad_charge"&lt;br /&gt;
&lt;br /&gt;
Then restart udev or reboot.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-7860328691148998659?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZSJjLQJobwNIEhRjzlG1ZRCy9Bg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZSJjLQJobwNIEhRjzlG1ZRCy9Bg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZSJjLQJobwNIEhRjzlG1ZRCy9Bg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZSJjLQJobwNIEhRjzlG1ZRCy9Bg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/vGFtRYcyWdE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/7860328691148998659/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=7860328691148998659" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/7860328691148998659?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/7860328691148998659?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/vGFtRYcyWdE/charge-ipad-or-ipad2-on-ubuntu.html" title="Charge iPad or iPad2 over usb in Linux" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>1</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2011/10/charge-ipad-or-ipad2-on-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUcFRXg7fyp7ImA9WhdUGE4.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-2415003638923367873</id><published>2011-10-05T10:49:00.000-07:00</published><updated>2011-10-05T10:50:14.607-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-05T10:50:14.607-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Lexmark" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="Lexmark Z645" /><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu" /><title>Lexmark z645 install redux</title><content type="html">This is the best way to install the printer driver for the Lexmark 600 or 640 series drivers on Ubuntu:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://help.ubuntu.com/community/HardwareSupportComponentsPrinters/LexmarkPrinters"&gt;https://help.ubuntu.com/community/HardwareSupportComponentsPrinters/LexmarkPrinters&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-2415003638923367873?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5lysDIqg-aZN21kjgy1OeXeDG28/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5lysDIqg-aZN21kjgy1OeXeDG28/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5lysDIqg-aZN21kjgy1OeXeDG28/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5lysDIqg-aZN21kjgy1OeXeDG28/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/Vu7ebvSxgUA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/2415003638923367873/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=2415003638923367873" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/2415003638923367873?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/2415003638923367873?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/Vu7ebvSxgUA/lexmark-z645-install-redux.html" title="Lexmark z645 install redux" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2011/10/lexmark-z645-install-redux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQCQX08fCp7ImA9WhdSFk8.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-7150275605961133491</id><published>2011-07-25T12:32:00.000-07:00</published><updated>2011-07-25T12:32:40.374-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-25T12:32:40.374-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sed" /><title>sed with variables</title><content type="html">Here is an example of how to get sed to replace values within files with variables:&lt;br /&gt;
&lt;br /&gt;
for a in {1..12} ; do  sed -e s/0/"$a"/g myConfig &gt; myConfig$a ; done;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is useful if you need to have an iterated set of config files, for instance.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-7150275605961133491?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AJaAU3FtTVILMWVCIGJfz2ZGTuA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AJaAU3FtTVILMWVCIGJfz2ZGTuA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AJaAU3FtTVILMWVCIGJfz2ZGTuA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AJaAU3FtTVILMWVCIGJfz2ZGTuA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/VDzDDHG5TMw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/7150275605961133491/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=7150275605961133491" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/7150275605961133491?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/7150275605961133491?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/VDzDDHG5TMw/sed-with-variables.html" title="sed with variables" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2011/07/sed-with-variables.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QNQX0yfyp7ImA9WhdSFk8.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-7469555453022175806</id><published>2011-07-25T12:16:00.000-07:00</published><updated>2011-07-25T12:16:30.397-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-25T12:16:30.397-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sed" /><title>In place editing of files quickly</title><content type="html">Use the sed -i option for in place editing of files:&lt;br /&gt;
&lt;br /&gt;
sed -i 's/foo/bar/g' FILENAME&lt;br /&gt;
&lt;br /&gt;
It will replace all occurances of foo with bar within FILENAME&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-7469555453022175806?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AG-AJ4aahbNpz3QykYb8bE181ZE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AG-AJ4aahbNpz3QykYb8bE181ZE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AG-AJ4aahbNpz3QykYb8bE181ZE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AG-AJ4aahbNpz3QykYb8bE181ZE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/1ycx3F-hDi4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/7469555453022175806/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=7469555453022175806" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/7469555453022175806?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/7469555453022175806?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/1ycx3F-hDi4/in-place-editing-of-files-quickly.html" title="In place editing of files quickly" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2011/07/in-place-editing-of-files-quickly.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEIGQnYzeyp7ImA9WhRXEk4.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-2439826007435073536</id><published>2011-07-11T13:48:00.000-07:00</published><updated>2011-12-18T11:28:43.883-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-18T11:28:43.883-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg" /><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="MythTV" /><category scheme="http://www.blogger.com/atom/ns#" term="iPad 2" /><category scheme="http://www.blogger.com/atom/ns#" term="AirVideo Server" /><title>Convert videos to iPad 2 format</title><content type="html">Recorded programs on my MythTV are in a lossless HD mpg format, which doesn't play well on my iPad2 using AirVideo Server over wlan (via wine).  So, instead of having AirVideo Server converting it through the wine abstraction layer (which requires more CPU/memory, and uses ffmpeg.exe anyway), I just run this user job from my MythTV server to convert the files that I care to watch on my iPad.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 1:&lt;/b&gt;&lt;br /&gt;
Create this file which I call /usr/bin/mythconverttoipad.  If you have an issue with "too may threads," remove -threads 16.  I am using this script on a 3 core machine, the -threads option speeds things up a bit.  &lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
DIR=$1&lt;br /&gt;
FILE=$2&lt;br /&gt;
&lt;br /&gt;
echo $DIR&lt;br /&gt;
echo $FILE&lt;br /&gt;
&lt;br /&gt;
ffmpeg -y -i $DIR/$FILE -ab 320kb -vcodec libx264 -b 3200kb -s 1280x720 -threads 16 $DIR/$FILE.m4v&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 2:&lt;/b&gt;&lt;br /&gt;
Make the script executable.&lt;br /&gt;
&lt;br /&gt;
chmod +x  /usr/bin/mythconverttoipad&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 3:&lt;/b&gt;&lt;br /&gt;
Add script as user job within MythTV.&lt;br /&gt;
&lt;br /&gt;
Within mythtv-setup add the following user job:&lt;br /&gt;
&lt;br /&gt;
/usr/bin/mythconverttoipad %DIR% %FILE%&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Step 4:&lt;/b&gt;&lt;br /&gt;
Enable it within rules.&lt;br /&gt;
&lt;br /&gt;
Within a program recording rule (within mythfrontent), enable this user job to be run post-recording.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 5:&lt;/b&gt;&lt;br /&gt;
Access the files from Air Video client or other player.&lt;br /&gt;
&lt;br /&gt;
If you have questions, please comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-2439826007435073536?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/X5IT20FZbp1t8n8KIuu8HZfKGfI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X5IT20FZbp1t8n8KIuu8HZfKGfI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/X5IT20FZbp1t8n8KIuu8HZfKGfI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X5IT20FZbp1t8n8KIuu8HZfKGfI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/EsUDsGhmjfs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/2439826007435073536/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=2439826007435073536" title="7 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/2439826007435073536?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/2439826007435073536?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/EsUDsGhmjfs/convert-videos-to-ipad-2-format.html" title="Convert videos to iPad 2 format" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>7</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2011/07/convert-videos-to-ipad-2-format.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEDQHY_fyp7ImA9WhZUFEU.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-1119547920772703751</id><published>2011-06-07T15:10:00.000-07:00</published><updated>2011-06-07T15:11:11.847-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-07T15:11:11.847-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="telnet" /><category scheme="http://www.blogger.com/atom/ns#" term="Roku" /><category scheme="http://www.blogger.com/atom/ns#" term="Netflix" /><title>Control Roku player over telnet</title><content type="html">My young boys have broken several remotes for my Roku player.  I am tired of buying new ones.  There is a way to control the Roku player over the network, though.  Use telnet on port 8080, for example:&lt;br /&gt;
&lt;br /&gt;
[root@mythtv3 ~]# telnet 192.168.1.8 8080 &lt;br /&gt;
Trying 192.168.1.8...&lt;br /&gt;
Connected to 192.168.1.8.&lt;br /&gt;
Escape character is '^]'.&lt;br /&gt;
H0A0AC134945&lt;br /&gt;
ETHMAC 00:0d:4c:43:90:11&lt;br /&gt;
WIFIMAC 00:0d:4c:43:90:11&lt;br /&gt;
&amp;gt;press right&lt;br /&gt;
&amp;gt;press down&lt;br /&gt;
&amp;gt;press select&lt;br /&gt;
&lt;br /&gt;
The available commands are:&lt;br /&gt;
press up&lt;br /&gt;
press down&lt;br /&gt;
press left&lt;br /&gt;
press right&lt;br /&gt;
press select&lt;br /&gt;
press home&lt;br /&gt;
press fwd&lt;br /&gt;
press back&lt;br /&gt;
press pause &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additional information:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://forums.roku.com/viewtopic.php?t=20106"&gt;http://forums.roku.com/viewtopic.php?t=20106&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-1119547920772703751?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Sza3ZJwzfIt0O0QZQFHb3kFNc1k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Sza3ZJwzfIt0O0QZQFHb3kFNc1k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Sza3ZJwzfIt0O0QZQFHb3kFNc1k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Sza3ZJwzfIt0O0QZQFHb3kFNc1k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/MyYqBxUKP5Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/1119547920772703751/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=1119547920772703751" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/1119547920772703751?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/1119547920772703751?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/MyYqBxUKP5Y/control-roku-player-over-telnet.html" title="Control Roku player over telnet" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2011/06/control-roku-player-over-telnet.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcCQ3w_cSp7ImA9WhZQGEk.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-1925229266574404351</id><published>2011-04-26T13:01:00.000-07:00</published><updated>2011-04-26T13:01:02.249-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-26T13:01:02.249-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="rubygems" /><category scheme="http://www.blogger.com/atom/ns#" term="ruby" /><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat" /><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="yum" /><category scheme="http://www.blogger.com/atom/ns#" term="rake" /><category scheme="http://www.blogger.com/atom/ns#" term="cap" /><category scheme="http://www.blogger.com/atom/ns#" term="gem" /><category scheme="http://www.blogger.com/atom/ns#" term="capistrano" /><category scheme="http://www.blogger.com/atom/ns#" term="mocha" /><category scheme="http://www.blogger.com/atom/ns#" term="echoe" /><title>Install capistrano on RHEL or CentOS</title><content type="html">Capistrano is great for automating system tasks.  Here is how to install it on RPM-based systems:&lt;br /&gt;
&lt;br /&gt;
# yum install ruby rubygems&lt;br /&gt;
# gem install mocha echoe rake capistrano&lt;br /&gt;
&lt;br /&gt;
Please note that mocha, echoe are optional for tests, but I included them in these instructions.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-1925229266574404351?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/eVTzuFaORM8R19sXY9bdDP8LDBA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eVTzuFaORM8R19sXY9bdDP8LDBA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/eVTzuFaORM8R19sXY9bdDP8LDBA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eVTzuFaORM8R19sXY9bdDP8LDBA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/LwQPxLdBlnQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/1925229266574404351/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=1925229266574404351" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/1925229266574404351?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/1925229266574404351?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/LwQPxLdBlnQ/install-capistrano-on-rhel-or-centos.html" title="Install capistrano on RHEL or CentOS" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2011/04/install-capistrano-on-rhel-or-centos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEcHQ384fyp7ImA9WhZQEUs.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-914537409536677885</id><published>2011-04-18T14:27:00.000-07:00</published><updated>2011-04-18T14:27:12.137-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-18T14:27:12.137-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ip" /><category scheme="http://www.blogger.com/atom/ns#" term="Wireshark" /><category scheme="http://www.blogger.com/atom/ns#" term="tcpdump" /><title>TCP dump for only port 80</title><content type="html">Here is a way to dump all tcp traffic on port 80 to and from the bond0 interface:&lt;br /&gt;
&lt;br /&gt;
tcpdump -w tcpdumpPort80.pcap -i bond0 tcp port 80&lt;br /&gt;
&lt;br /&gt;
If you wanted to use only the eth0 interface (more common), use this example:&lt;br /&gt;
&lt;br /&gt;
tcpdump -w tcpdumpPort80.pcap -i eth0 tcp port 80&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-914537409536677885?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/A7SWP8b8j_eUDh-JKXCYEKw4fs0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/A7SWP8b8j_eUDh-JKXCYEKw4fs0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/A7SWP8b8j_eUDh-JKXCYEKw4fs0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/A7SWP8b8j_eUDh-JKXCYEKw4fs0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/gNw6VeqCnIo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/914537409536677885/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=914537409536677885" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/914537409536677885?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/914537409536677885?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/gNw6VeqCnIo/tcp-dump-for-only-port-80.html" title="TCP dump for only port 80" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2011/04/tcp-dump-for-only-port-80.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C08ERn8-cSp7ImA9WhZQEUs.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-5642230816764732275</id><published>2011-04-18T14:23:00.000-07:00</published><updated>2011-04-18T14:23:27.159-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-18T14:23:27.159-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mutt" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="email" /><category scheme="http://www.blogger.com/atom/ns#" term="Wireshark" /><title>Sending files from the Linux command line</title><content type="html">Here is a quick way to e-mail yourself files from a server using mutt.&lt;br /&gt;
&lt;br /&gt;
$ mutt -a tcpdumpApril182011.pcap my_name@example.com &lt; /dev/null&lt;br /&gt;
&lt;br /&gt;
Mutt is great for sending MIME encoded files.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-5642230816764732275?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YQS1sdZL3BARg3FvPFpiHOjvmog/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YQS1sdZL3BARg3FvPFpiHOjvmog/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YQS1sdZL3BARg3FvPFpiHOjvmog/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YQS1sdZL3BARg3FvPFpiHOjvmog/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/23dl_V7LIz8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/5642230816764732275/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=5642230816764732275" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/5642230816764732275?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/5642230816764732275?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/23dl_V7LIz8/sending-files-from-linux-command-line.html" title="Sending files from the Linux command line" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2011/04/sending-files-from-linux-command-line.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYDRnY7fyp7ImA9Wx9aFUk.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-3923373741852011040</id><published>2011-03-07T17:02:00.000-08:00</published><updated>2011-03-07T17:02:57.807-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-07T17:02:57.807-08:00</app:edited><title>Quickly clear out a file's contents</title><content type="html">If you ever have the need to quickly clear out the contents of a file while preserving its priviledges and creation date, use this command:&lt;br /&gt;
&lt;br /&gt;
echo " " &gt; myConfig.xml&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
echo " " &gt; /etc/my.cnf&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-3923373741852011040?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nKuqXPL9MvpG5B4HjX_RbDoiazY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nKuqXPL9MvpG5B4HjX_RbDoiazY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nKuqXPL9MvpG5B4HjX_RbDoiazY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nKuqXPL9MvpG5B4HjX_RbDoiazY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/Ue9nqTjf84Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/3923373741852011040/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=3923373741852011040" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/3923373741852011040?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/3923373741852011040?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/Ue9nqTjf84Y/quickly-clear-out-files-contents.html" title="Quickly clear out a file's contents" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2011/03/quickly-clear-out-files-contents.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUNQHkyfCp7ImA9Wx9SEkk.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-6524445617558693089</id><published>2010-12-01T14:38:00.000-08:00</published><updated>2010-12-01T14:41:31.794-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-01T14:41:31.794-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="terracotta" /><category scheme="http://www.blogger.com/atom/ns#" term="grep" /><title>Grep with filenames</title><content type="html">Sometimes you want grep to tell you what files have a pattern within a directory.&amp;nbsp; Here is how to do it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
grep -H JAVA_HOME=/&amp;nbsp; /usr/local/terracotta/bin/* /usr/local/terracotta/platform/bin/*&lt;br /&gt;
&lt;br /&gt;
/usr/local/terracotta/bin/start-tc-server.sh:export JAVA_HOME=/usr/java/jdk1.6.0_21/&lt;br /&gt;
/usr/local/bin/stop-tc-server.sh:export JAVA_HOME=/usr/java/jdk1.6.0_21/&lt;br /&gt;
/usr/local/bin/tim-get.sh:export JAVA_HOME=/usr/java/jdk1.6.0_21/&lt;br /&gt;
/usr/local/platform/bin/make-boot-jar.sh:export JAVA_HOME=/usr/java/jdk1.6.0_21/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-6524445617558693089?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4aXV5wsXorthEX7on2yyIcziwbg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4aXV5wsXorthEX7on2yyIcziwbg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4aXV5wsXorthEX7on2yyIcziwbg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4aXV5wsXorthEX7on2yyIcziwbg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/J2Zej3gJjZw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/6524445617558693089/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=6524445617558693089" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/6524445617558693089?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/6524445617558693089?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/J2Zej3gJjZw/grep-with-filenames.html" title="Grep with filenames" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2010/12/grep-with-filenames.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUMQno_eSp7ImA9Wx9TEE4.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-4914072033320151100</id><published>2010-11-17T15:46:00.000-08:00</published><updated>2010-11-17T15:58:03.441-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-17T15:58:03.441-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="xm" /><category scheme="http://www.blogger.com/atom/ns#" term="{a..z}" /><category scheme="http://www.blogger.com/atom/ns#" term="vcpu-pin" /><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="for loops" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="{1..10}" /><category scheme="http://www.blogger.com/atom/ns#" term="Xen" /><category scheme="http://www.blogger.com/atom/ns#" term="script" /><title>Bash for loops with a series of numbers or letters</title><content type="html">Bash scripting is great. Here is a quick trick to funnel a series of numbers (or letters) into a variable, and thus an argument of a script:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;b&gt;for a in {1..18}&lt;/b&gt;&lt;br /&gt;
do&lt;br /&gt;
echo "The number $a"&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;b&gt;for a in {a..z}&lt;/b&gt;&lt;br /&gt;
do&lt;br /&gt;
echo  " The letter $a "&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
Here is another example:&lt;br /&gt;
&lt;br /&gt;
for a in {0..15};&amp;nbsp; do&amp;nbsp; /usr/sbin/xm vcpu-pin 0 $a 0-1,4-15;&amp;nbsp; done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Such a quick and easy trick!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-4914072033320151100?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Q_od3hmSogytOBgJexsNUZmDtf8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Q_od3hmSogytOBgJexsNUZmDtf8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Q_od3hmSogytOBgJexsNUZmDtf8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Q_od3hmSogytOBgJexsNUZmDtf8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/3qDWCbqbU2g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/4914072033320151100/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=4914072033320151100" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/4914072033320151100?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/4914072033320151100?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/3qDWCbqbU2g/bash-for-loops-with-series-of-numbers.html" title="Bash for loops with a series of numbers or letters" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2010/11/bash-for-loops-with-series-of-numbers.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QFRHszfSp7ImA9WxFaGE8.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-1511672040505450950</id><published>2010-07-22T10:55:00.000-07:00</published><updated>2010-07-22T10:55:15.585-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-22T10:55:15.585-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TiVO" /><category scheme="http://www.blogger.com/atom/ns#" term="MythTV" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="Netflix" /><title>Bring Netflix streaming to Linux!</title><content type="html">Considering there are a host of devices (PS3, Roxee, TiVo, LG Blu-Ray players) that run Linux internally and support Netflix Streaming, it should be an easy technical transition to bring this to Linux.&amp;nbsp; Sign the petition to bring Netflix streaming to Linux. I am promoting it so I can use Netflix Streaming on my MythTV server and enhance the MythTV experience with Netflix streaming.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.petitiononline.com/Linflix/petition.html"&gt;http://www.petitiononline.com/Linflix/petition.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-1511672040505450950?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/w43bNwE5Z5OJU55568GhDFRa6Vs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/w43bNwE5Z5OJU55568GhDFRa6Vs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/w43bNwE5Z5OJU55568GhDFRa6Vs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/w43bNwE5Z5OJU55568GhDFRa6Vs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/jYvCipzylzU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/1511672040505450950/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=1511672040505450950" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/1511672040505450950?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/1511672040505450950?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/jYvCipzylzU/bring-netflix-streaming-to-linux.html" title="Bring Netflix streaming to Linux!" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2010/07/bring-netflix-streaming-to-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4DQnk7fSp7ImA9WxFaEkQ.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-9000642493891779504</id><published>2010-07-16T09:15:00.000-07:00</published><updated>2010-07-16T09:16:13.705-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-16T09:16:13.705-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="du" /><category scheme="http://www.blogger.com/atom/ns#" term="dd" /><category scheme="http://www.blogger.com/atom/ns#" term="Xen" /><title>Create huge files fast with dd</title><content type="html">Here is a quick way to create very large empty files without writing every byte using dd.&lt;br /&gt;
&lt;br /&gt;
# dd if=/dev/zero of=largeemptyfile.img bs=1M count=1 seek=16999&lt;br /&gt;
1+0 records in&lt;br /&gt;
1+0 records out&lt;br /&gt;
1048576 bytes (1.0 MB) copied, 0.001772 seconds, 592 MB/s&lt;br /&gt;
# ls -lh&lt;br /&gt;
total 1.1M&lt;br /&gt;
-rw-r--r-- 1 root root 17G Jul 16 09:07 largeemptyfile.img&lt;br /&gt;
# du -h&lt;br /&gt;
1.1M&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;
&lt;br /&gt;
Notice that the actual file is only 1.1 MB, but the file shows as 17GB.&amp;nbsp; This is because dd basically wrote the first and last parts of the file, and left the middle alone.&amp;nbsp; You can now use this file for anything, such as a Xen disk image.&amp;nbsp; Once it is in use, it will report as the full 17GB with du.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-9000642493891779504?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SziSnefnOhECt77ml89TpQkEa0Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SziSnefnOhECt77ml89TpQkEa0Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/SziSnefnOhECt77ml89TpQkEa0Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SziSnefnOhECt77ml89TpQkEa0Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/UdZRDAA5gKY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/9000642493891779504/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=9000642493891779504" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/9000642493891779504?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/9000642493891779504?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/UdZRDAA5gKY/create-huge-files-fast-with-dd.html" title="Create huge files fast with dd" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2010/07/create-huge-files-fast-with-dd.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D04HQns9eSp7ImA9WxFbFk0.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-8149444784396656721</id><published>2010-07-08T09:16:00.000-07:00</published><updated>2010-07-08T09:18:53.561-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-08T09:18:53.561-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="xargs" /><category scheme="http://www.blogger.com/atom/ns#" term="Fedora Core" /><category scheme="http://www.blogger.com/atom/ns#" term="cut" /><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="grep" /><title>Killing zombie processes</title><content type="html">Kill those persistent and annoying zombie processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ps -e -o ppid,stat | grep Z | cut -d" " -f2 | xargs kill -9&lt;br /&gt;
&lt;br /&gt;
Tested on Fedora for accuracy. &amp;nbsp;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-8149444784396656721?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nCi7xgr7BvF7DG1tA0SVJrkNVgA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nCi7xgr7BvF7DG1tA0SVJrkNVgA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nCi7xgr7BvF7DG1tA0SVJrkNVgA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nCi7xgr7BvF7DG1tA0SVJrkNVgA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/uCPLZUfWOd4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/8149444784396656721/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=8149444784396656721" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/8149444784396656721?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/8149444784396656721?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/uCPLZUfWOd4/killing-zombie-processes.html" title="Killing zombie processes" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2010/07/killing-zombie-processes.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4DRHg8eCp7ImA9WxFbFk0.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-282355875936575567</id><published>2010-07-08T08:09:00.000-07:00</published><updated>2010-07-08T08:29:35.670-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-08T08:29:35.670-07:00</app:edited><title>New t-shirt shop</title><content type="html">I have partnered with CafePress.com to create some suave t-shirts about tech.&amp;nbsp; See my shop at:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.cafepress.com/Peachfuzztech"&gt;http://www.cafepress.com/Peachfuzztech&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-282355875936575567?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/U8JObWvr5H8Ywa_TjkFgajNL3JU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/U8JObWvr5H8Ywa_TjkFgajNL3JU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/U8JObWvr5H8Ywa_TjkFgajNL3JU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/U8JObWvr5H8Ywa_TjkFgajNL3JU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/S39ZCxESMVs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/282355875936575567/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=282355875936575567" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/282355875936575567?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/282355875936575567?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/S39ZCxESMVs/new-t-shirt-shop.html" title="New t-shirt shop" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2010/07/new-t-shirt-shop.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EHRngzeyp7ImA9WxFUFE8.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-1660665263737630038</id><published>2010-06-24T16:18:00.000-07:00</published><updated>2010-06-24T16:20:37.683-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-24T16:20:37.683-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="dhcpd" /><title>Sample /etc/dhcpd.conf configuration</title><content type="html">Here is a basic dhcpd configuration.&lt;br /&gt;
For more info, look at /usr/share/doc/dhcp*/dhcpd.conf.sample.&lt;br /&gt;
&lt;br /&gt;
ddns-update-style ad-hoc;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
range 192.168.1.100 192.168.1.200;&lt;br /&gt;
option routers 192.168.1.1 ;&lt;br /&gt;
option domain-name "mydomain.com" ;&lt;br /&gt;
option domain-name-servers 4.2.2.2 4.2.2.3 ;&lt;br /&gt;
}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-1660665263737630038?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/m8rDDeMZLv6v5HRfvnA_RVb8DDY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/m8rDDeMZLv6v5HRfvnA_RVb8DDY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/m8rDDeMZLv6v5HRfvnA_RVb8DDY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/m8rDDeMZLv6v5HRfvnA_RVb8DDY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/2Qi7UgCQtUw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/1660665263737630038/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=1660665263737630038" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/1660665263737630038?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/1660665263737630038?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/2Qi7UgCQtUw/sample-etcdhcpdconf-configuration.html" title="Sample /etc/dhcpd.conf configuration" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2010/06/sample-etcdhcpdconf-configuration.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04AQXc4fCp7ImA9WxFVGU0.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-8499813165587095154</id><published>2010-06-18T15:58:00.000-07:00</published><updated>2010-06-18T15:59:00.934-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-18T15:59:00.934-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="chkconfig" /><category scheme="http://www.blogger.com/atom/ns#" term="update-rc.d-insserv" /><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu" /><title>Make a service persistant on Ubuntu</title><content type="html">The latest versions of Ubuntu (10.04 is where I noticed this behavior) ignore LSB configuration, which makes chkconfig not work for some scripts.&amp;nbsp; Instead, use update-rc.d-insserv to enable a service after reboot as shown.&amp;nbsp; This example enables the Samba services after a reboot. &lt;br /&gt;
&lt;br /&gt;
update-rc.d-insserv nmbd defaults&lt;br /&gt;
update-rc.d-insserv smbd defaults&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-8499813165587095154?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uZQcZUvMQT3VdVXixN1qp4z7-6o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uZQcZUvMQT3VdVXixN1qp4z7-6o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uZQcZUvMQT3VdVXixN1qp4z7-6o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uZQcZUvMQT3VdVXixN1qp4z7-6o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/raYjY_8de8o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/8499813165587095154/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=8499813165587095154" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/8499813165587095154?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/8499813165587095154?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/raYjY_8de8o/make-service-persistant-on-ubuntu.html" title="Make a service persistant on Ubuntu" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2010/06/make-service-persistant-on-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUASHw-fyp7ImA9WhZbEUg.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-5116487724065052914</id><published>2010-06-17T15:37:00.002-07:00</published><updated>2011-06-15T10:17:29.257-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-15T10:17:29.257-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="cut" /><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="grep" /><category scheme="http://www.blogger.com/atom/ns#" term="ssh" /><title>Find the PID number with nothing else</title><content type="html">Use this combination to find a PID number without anything else in the output:&lt;br /&gt;
&lt;br /&gt;
ps -ef | grep -v grep | grep ssh | cut -d" " -f3&lt;br /&gt;
3012&lt;br /&gt;
&lt;br /&gt;
Enjoy that kungfu knife-kick combo.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-5116487724065052914?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xUqr0aj1nxePVk4EoRpfmW_ENco/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xUqr0aj1nxePVk4EoRpfmW_ENco/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xUqr0aj1nxePVk4EoRpfmW_ENco/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xUqr0aj1nxePVk4EoRpfmW_ENco/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/s2Ff5OpaUGk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/5116487724065052914/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=5116487724065052914" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/5116487724065052914?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/5116487724065052914?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/s2Ff5OpaUGk/find-pid-number-with-nothing-else.html" title="Find the PID number with nothing else" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2010/06/find-pid-number-with-nothing-else.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YARX0zfip7ImA9WxFXGUU.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-5271424214420349123</id><published>2010-05-27T11:20:00.003-07:00</published><updated>2010-05-27T11:32:24.386-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-27T11:32:24.386-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="ssh" /><category scheme="http://www.blogger.com/atom/ns#" term="wall" /><title>Write on my Linux wall</title><content type="html">To display a text message to other users logged into a *nix system, use the wall command.  For example:&lt;br /&gt;&lt;br /&gt;wall "Deploying new .ear file in five minutes."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This will send the message to all users logged into the system, whether they be physically on a console, via ssh or ftp.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-5271424214420349123?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/I61RM2KafAVd4WQ7FScLp6uTlRY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/I61RM2KafAVd4WQ7FScLp6uTlRY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/I61RM2KafAVd4WQ7FScLp6uTlRY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/I61RM2KafAVd4WQ7FScLp6uTlRY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/g14sObjy0sA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/5271424214420349123/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=5271424214420349123" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/5271424214420349123?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/5271424214420349123?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/g14sObjy0sA/write-on-my-linux-wall.html" title="Write on my Linux wall" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2010/05/write-on-my-linux-wall.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkACQ385cSp7ImA9WxBRGUo.&quot;"><id>tag:blogger.com,1999:blog-6643635510228384218.post-3037025991624797311</id><published>2010-01-08T09:07:00.002-08:00</published><updated>2010-01-08T09:12:42.129-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-08T09:12:42.129-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="vi" /><category scheme="http://www.blogger.com/atom/ns#" term="comment lines" /><title>Comment lines in vi</title><content type="html">If you need to comment the next 10 lines within vi, execute the command within the command mode:&lt;br /&gt;&lt;br /&gt;:.,+10s/^/#&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6643635510228384218-3037025991624797311?l=mastersofthelinuxuniverse.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dwupXOxzWEvUrjgwRhG2LtneD9o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dwupXOxzWEvUrjgwRhG2LtneD9o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dwupXOxzWEvUrjgwRhG2LtneD9o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dwupXOxzWEvUrjgwRhG2LtneD9o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MastersOfTheLinuxUniverse/~4/BEZb8ea1umc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mastersofthelinuxuniverse.blogspot.com/feeds/3037025991624797311/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6643635510228384218&amp;postID=3037025991624797311" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/3037025991624797311?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6643635510228384218/posts/default/3037025991624797311?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MastersOfTheLinuxUniverse/~3/BEZb8ea1umc/comment-lines-in-vi.html" title="Comment lines in vi" /><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://3.bp.blogspot.com/_8wdGMQqPZZE/SMSTgXS_a1I/AAAAAAAAAQM/Oc0-ab5U1t0/S220/P1020124.JPG" /></author><thr:total>1</thr:total><feedburner:origLink>http://mastersofthelinuxuniverse.blogspot.com/2010/01/comment-lines-in-vi.html</feedburner:origLink></entry></feed>

