let a cow tell you your fortune

Here\’s something that I saw on commandlinefu yesterday. That sent me thinking about some command to have the cow file picked randomly 🙂 So, here\’s the original command from the commandlinefu:
let a cow tell you your fortune
$ fortune | <a class="zem_slink freebase/en/cowsay" title="Cowsay" rel="homepage" href="http://www.nog.net/%7Etony/warez/cowsay.shtml">cowsay</a> -f tux

Let Tux bring the fortune cookie


by David Winterbottom (codeinthehole.com)


Now, for some fun

#!/bin/bash –
#          FILE:  fortune_cowsay.sh
#         USAGE:  ./fortune_cowsay.sh
#   DESCRIPTION:  Cowsay with random cow file.. 🙂
#       OPTIONS:  —
#          BUGS:  —
#         NOTES:  —
#        AUTHOR:   (),
#       COMPANY:
#       VERSION:  1.0
#       CREATED:  06/01/2010 03:25:59 PM IST
#      REVISION:  —

array=( `ls -1 /usr/share/cowsay/ |tr \’\\n\’ \’ \’` )

fortune |cowsay -f ${array[$random]%%.cow}


UFRaw – Open open format raw images in Linux.

UFRaw is quite an essential program if you are using Linux and have a camera that supports raw format.

UFRaw is a tool for opening raw format images of digital cameras.

UFRaw supports a long list of camera\’s. You can see the list of supported camera\’s here.

Here are few screenshot\’s:

\"UFRaw\" \"UFRaw\" \"UFRaw\" \"UFRaw\"

Special discount on shop.amit-agarwal.co.in

There is a  special discount on some products at shop.amit-agarwal.co.in.. check out until discout remains.