&lt;?xml version="1.0" encoding="utf-8"?>
        <sphinx:docset>
            <sphinx:schema>
              <sphinx:field name="title"/>
              <sphinx:attr name="title" type="string"/>
              <sphinx:attr name="link" type="string"/>
              <sphinx:field name="content"/>
              <sphinx:attr name="content" type="string"/>
              <sphinx:attr name="pubDate" type="timestamp"/>
              
            </sphinx:schema>
            
            <sphinx:document id="1080 ">
              <title>&lt;![CDATA[Checking the links to your site (from affiliates) using cron and bash script.]]></title>
              <link>&lt;![CDATA[/2010/05/28/checking-links-site-affiliates-cron-bash-script/]]></link>
              <pubDate>1274991993</pubDate>
              <content>&lt;![CDATA[ If you have some affiliate links and are concerned about their presence then you can setup &amp;lt;a class=&amp;quot;zem_slink freebase/guid/9202a8c04000641f80000000045c9c5b&amp;quot; title=&amp;quot;Cron&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Cron&amp;quot;&amp;gt;cron to check the links for you regularly. For this you need a very simple script (as below) and a cron entry (example further down).
#!/bin/bash –
#===============================================================================
# FILE: checklinks.sh
# USAGE: ./checklinks.sh
# DESCRIPTION: Check if the links exists on affiliate sites
# OPTIONS: —
# REQUIREMENTS: —
# BUGS: —
# NOTES: —
# AUTHOR: &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Amit Agarwal&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://amit-agarwal.co.in&amp;quot;&amp;gt;Amit Agarwal (AKA), amit.agarwal@amit-agarwal.co.in
# COMPANY: Individual
# VERSION: 1.0
# CREATED: 04/07/2010 08:19:29 AM IST
# REVISION: —
#===============================================================================
websites=&amp;amp;#8221;space seperated &amp;lt;a class=&amp;quot;zem_slink freebase/en/website&amp;quot; title=&amp;quot;Website&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Website&amp;quot;&amp;gt;website address like http://amit-agarwal.co.in http://blog.amit-agarwal.co.in&amp;amp;#8221;
echo &amp;amp;#8221;Checking the sites for Links&amp;amp;#8221;
echo $websites|tr &amp;amp;#8217; &amp;amp;#8217; &amp;amp;#8217;\n&amp;amp;#8217;
echo
echo
for i in $websites
do
curl -s $i |grep amit-agarwal.co.in &amp;gt; &amp;lt;a class=&amp;quot;zem_slink freebase/en/dev_null&amp;quot; title=&amp;quot;/dev/null&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki//dev/null&amp;quot;&amp;gt;/dev/null
if [ $? != 0 ]
then
echo &amp;amp;#8221;Link not found on $i&amp;amp;#8221;
fi
done
Then make a crontab entry like this:
40 08 * * * (echo &amp;amp;#8221;Subject: Link verification on affiliate sites @ `date`&amp;amp;#8221;;/checklinks.sh) |/usr/sbin/sendmail &amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot;&amp;gt;Related articles by Zemanta &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/2010/03/08/email-web-statistics-from-the-hosted-website-using-awstats-page/&amp;quot;&amp;gt;Email web statistics from the hosted website using awstats page. (amit-agarwal.co.in) &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://on10.net/blogs/sarahintampa/Bings-Wallpaper-Search-Feature/&amp;quot;&amp;gt;Bing&amp;amp;#8217;s Wallpaper Search Feature (on10.net) &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/2010/02/10/bash-script-with-sql-to-get-the-number-of-records-from-multiple-tables/&amp;quot;&amp;gt;bash script with sql to get the number of records from multiple tables. (amit-agarwal.co.in) &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://lifehacker.com/5483992/variably-safe-for-work-previews-questionable-links-keeps-you-out-of-trouble&amp;quot;&amp;gt;Variably Safe For Work Previews Questionable Links, Keeps You Out of Trouble (lifehacker.com) &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/2010/04/07/email-with-templates-with-variables-from-the-command-line-with-sendmail-or-any-other-mta/&amp;quot;&amp;gt;email with templates (with variables) from the command line with sendmail or any other MTA. (amit-agarwal.co.in) &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Reblog this post [with Zemanta]&amp;quot; href=&amp;quot;http://reblog.zemanta.com/zemified/a5be6337-90ec-447d-b44c-ee5c4a2128c2/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b92.png&amp;quot; alt=&amp;quot;Reblog this post [with Zemanta]&amp;quot; /&amp;gt;&amp;lt;span class=&amp;quot;zem-script more-related more-info pretty-attribution paragraph-reblog&amp;quot;&amp;gt;
]]></content>
             </sphinx:document>
            
            <sphinx:document id="1081 ">
              <title>&lt;![CDATA[Startup animation and theme for Fedora 12 onwards.]]></title>
              <link>&lt;![CDATA[/2010/05/20/startup-animation-theme-fedora-12-onwards/]]></link>
              <pubDate>1274373811</pubDate>
              <content>&lt;![CDATA[ Since the release of &amp;lt;a class=&amp;quot;zem_slink freebase/en/fedora&amp;quot; title=&amp;quot;Fedora&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://fedoraproject.org/&amp;quot;&amp;gt;Fedora 12, fedora is using plymouth. Plymouth kicks in just after grub and before the Xserver starts.
Description:
Plymouth provides an attractive graphical &amp;lt;a class=&amp;quot;zem_slink freebase/en/bootsplash&amp;quot; title=&amp;quot;Bootsplash&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Bootsplash&amp;quot;&amp;gt;boot animation in
place of the &amp;lt;a class=&amp;quot;zem_slink freebase/en/text_messaging&amp;quot; title=&amp;quot;Text messaging&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Text_messaging&amp;quot;&amp;gt;text messages that normally get shown. Text
messages are instead redirected to a &amp;lt;a class=&amp;quot;zem_slink freebase/en/data_logger&amp;quot; title=&amp;quot;Data logger&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Data_logger&amp;quot;&amp;gt;log file for viewing
after boot.
Plymouth does support themes and there are couple of plymouth themes already in the repos:
plymouth-theme-spinfinity-0.8.2-3.fc13.i686
plymouth-system-theme-0.8.2-3.fc13.i686
plymouth-theme-charge-0.8.2-3.fc13.i686
plymouth-theme-fade-in-0.8.2-3.fc13.i686
plymouth-theme-solar-0.8.2-3.fc13.i686
To use one of these you need to do the following and see the effects after a reboot:
sudo /usr/sbin/plymouth-set-default-theme sudo /usr/libexec/plymouth/plymouth-update-initrd&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot;&amp;gt;Related articles by Zemanta &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.slideshare.net/ApartmentHomeLiving/plymouth-house-apartments-for-rent-brochure-plymouth-mi-4031778&amp;quot;&amp;gt;Plymouth House Apartments for Rent Brochure Plymouth, MI (slideshare.net) &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://maketecheasier.com/change-login-and-boot-screen-in-ubuntu-lucid/2010/05/13&amp;quot;&amp;gt;How to Change Your Login And Boot Screen In Ubuntu Lucid (maketecheasier.com) &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.slideshare.net/ApartmentHomeLiving/plymouth-heritage-apartments-apartments-for-rent-brochure-plymouth-mi&amp;quot;&amp;gt;Plymouth Heritage Apartments Apartments for Rent Brochure Plymouth, MI (slideshare.net) &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.plymothiantransit.com/2010/05/pink-yellow-dont-go.html&amp;quot;&amp;gt;Pink &amp;amp; Yellow dont go (plymothiantransit.com) &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.plymothiantransit.com/2010/05/sunday-best-ttt172x.html&amp;quot;&amp;gt;Sunday Best: TTT172X (plymothiantransit.com) &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Reblog this post [with Zemanta]&amp;quot; href=&amp;quot;http://reblog.zemanta.com/zemified/55c2d6a5-8570-4dea-8f16-51f1419f5620/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b91.png&amp;quot; alt=&amp;quot;Reblog this post [with Zemanta]&amp;quot; /&amp;gt;&amp;lt;span class=&amp;quot;zem-script more-related more-info pretty-attribution paragraph-reblog&amp;quot;&amp;gt;
]]></content>
             </sphinx:document>
            
            <sphinx:document id="1082 ">
              <title>&lt;![CDATA[Finding all the executables/binary in Linux rpm based distro.]]></title>
              <link>&lt;![CDATA[/2010/01/04/finding-all-the-executablesbinary-in-linux-rpm-based-distro/]]></link>
              <pubDate>1262558414</pubDate>
              <content>&lt;![CDATA[ I have been thinking about this for quite sometime now, how to find all the executables on the linux system. One of the way is to do a &amp;amp;#8221;ls&amp;amp;#8221; on all the directories in the PATH variable. But that will not list the executables that are outside of the PATH. So, I wrote this one liner :
rpm -qal |agrep &amp;amp;#8221;bin\/&amp;amp;#8221; &amp;gt; all_execs
This will list all the files in the Linux system in bin or sbin directory and that should be pretty much all the binaries in the system.
]]></content>
             </sphinx:document>
            
          
        </sphinx:docset>
