Checking the links to your site (from affiliates) using cron and bash script.

2010-05-27 2 min read Fedora Learning Linux Uncategorized
If you have some affiliate links and are concerned about their presence then you can setup <a class="zem_slink freebase/guid/9202a8c04000641f80000000045c9c5b" title="Cron" rel="wikipedia" href="http://en.wikipedia.org/wiki/Cron">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: — Continue reading

Startup animation and theme for Fedora 12 onwards.

2010-05-20 1 min read Fedora Learning Linux
Since the release of <a class="zem_slink freebase/en/fedora" title="Fedora" rel="homepage" href="http://fedoraproject.org/">Fedora 12, fedora is using plymouth. Plymouth kicks in just after grub and before the Xserver starts. Description: Plymouth provides an attractive graphical <a class="zem_slink freebase/en/bootsplash" title="Bootsplash" rel="wikipedia" href="http://en.wikipedia.org/wiki/Bootsplash">boot animation in place of the <a class="zem_slink freebase/en/text_messaging" title="Text messaging" rel="wikipedia" href="http://en.wikipedia.org/wiki/Text_messaging">text messages that normally get shown. Text messages are instead redirected to a <a class="zem_slink freebase/en/data_logger" title="Data logger" rel="wikipedia" href="http://en.wikipedia.org/wiki/Data_logger">log file for viewing Continue reading

Finding all the executables/binary in Linux rpm based distro.

2010-01-03 1 min read Linux
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 &#8221;ls&#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 &#8221;bin\/&#8221; > 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. Continue reading