Quite a few of the tips that get submitted on shell-fu.org aren’t that useful if you need to remember them, but are just the thing to put in your bashrc as aliases or functions. With that in mind I decided to put together a full .bashrc using the best submissions:

View/download shell-fu.org .bashrc

Feel free to use this however you like, though I’d recommend reading through it to get some idea of what each alias/function does before you use it.

I’ve tested this on my Debian system and all worked well but if you have issues on another platform, please let me know.

Share or bookmark this post:
  • Digg
  • Reddit
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • description

Comments RSS

3 Comments

  1. Good work! Thank you.

    #1 prof_booty
  2. Very nice! Thanks for taking the time to make this!! ;-)

    #2 D2K
  3. Nice stuff. I have a general version of the “..” command, this one takes an arg for how many levels up to go.

    # .. - Does a “cd ..”
    # .. 3 - Does a “cd ../../..”
    #
    function .. ()
    {
    local arg=${1:-1};
    while [ $arg -gt 0 ]; do
    cd .. >&/dev/null;
    arg=$(($arg - 1));
    done
    }

    #3 mnp

Leave a Comment