Here are some of the funtions that I have in my bashrc to make my life simple. They are not written by me but mostly taken from other places, but modified by me to some extent to suit my needs. If you know the original creator of these, let me know so I can add the attribution for the same.
This one is very useful.
while [ $arg -gt 0 ]; do
arg=$(($arg – 1));
cd $dir >&/dev/null
Another very useful function:
[[ $# == 1 ]] && a=$1 || ([[ $# == 0 ]] && a=1 || echo \”Enter only one or zero parameter\” )
echo \”Moving up $a dirctories…\”
for (( i=0; i<$a ; i++ ))
builtin cd ..
echo \”Up one directory to $(pwd) .. \”
If those 2 do not meet your requirement then add this too 🙂
if [ -z \”$1\” ]; then
while [ $maxlvl -gt 0 ]; do
maxlvl=$(($maxlvl – 1));
if [ -d \”$dir\” ]; then
cd $dir >&/dev/null
There\’s a new guy in the block and its called NimbleX. From various sources, I have found that this is quite fast. I am downloading this currently. The main advantage is that the distro is of just 200MB with most of the day to day utilities available in the distro by default.
And if you think that this is just not for you as you like some package and its missing from NimbleX, no problem. Just go here, and create your own live distro withing minutes with custom package\’s that can be used as Live CD or can be installed on the HDD/USB. Now that\’s generations ahead of Windows or any other OS. What do you say?
Xoost is a community search engine. From Xoost page:
Imagine you are searching for a topic related to your favourite Music, Travel destinations, Events. With Xoost you will benefit from the exponential value of doing it much more productively together with your friends or family members. It’s all about sharing Search skills & Knowledge.
Xoost diaplays result from Google, Yahoo and Bing all in one page. If you like a page you can mark it or share it with others. So this is one good feature that is quite useful. Also there is a Search extension available for firefox for Xoost.