Autojump – An Advanced ‘cd’ Command to Quickly Navigate Linux Filesystem

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

16 Responses

  1. anonymous says:

    `$ apt-get install autojumo`

    `$ apt-get install autojump`

    And it’s totally unnecessary to do `apt-get dist-upgrade`

  2. LycaonKoW says:

    Very awesome, more Linux articles need to learn from you guys. Very well put together instructions and I love it, thank you for your work and knowledge base sharing.

  3. Vince says:

    Love its script but i can’t get it to work with j, it seem to only accept autojump as a command. running on mint 17.3

    • Ravi Saive says:


      Thanks for finding this tool useful, have you seen any output with j? both j and autojump command gives same output? could you share?

    • satoru says:

      I’ve recently rewritten this tool with Go:

      You only need to download a binary for your platform, so it’s easier to install than the original one written in Python.
      What’s more, it’s much faster.

      • Ravi Saive says:


        This is Ravi Saive, the founder of

        Thanks for sharing your tool with us, why not you write a review post on the same with installation and review about the tool and send us for review for publication in

  4. Eduardo says:

    I use Fedora 22 and I installed autojump from Fedora repository, but j command is not recognized and the command for bash activation gets “file or command not found”.

  5. Eduardo says:

    I am using Fedora 22 and autojump is in Fedora repository. Version is 21.7.1-4. I have installed autojump but I get error messages “j: command not found” and I tried activate autojump temporarily, but the error message was: “bash: /usr/share/autojump/ file or directory not found”. Indeed, I tried activate autojump permanently, but I got error message too.

    • Victor1 says:

      I had to use rpm -ql autojump to see where is located because it seems like the path that is given in the post for the location of is wrong. Or search for and add those commands at the end of the post.

  6. cool.
    Btw. notable fact: bash has a simplistic directory bookmarking feature.
    By defining first two lines in .bashrc allows directory jumping:

    ~$ shopt -s cdable_vars
    ~$ export foo=/usr/share/lib/foo/bar
    ~$ cd foo
    /usr/share/lib/foo/bar $

    here’s a screencast about it:

    nevertheless autojump is a cool productivity tool.

  7. omipenguin says:

    It gives this error when i try to install it

    File “./”, line 40
    with open(os.path.join(etc_dir, ‘’), ‘a’) as f:
    SyntaxError: invalid syntax

    • Avishek Kumar says:

      @ omipenguin,
      Let me know your Python Version and OS details. You may email me your SSH access at avishek1210[at], for better assistance.

  8. balu says:

    I have installed it through yum in centos 6.3,
    When i type the command “autojump -v”, it gives me following error “Unknown command line argument: option -v not recognized”
    When i do # j or #autojump , it executes but not going to the dir.

    • Avishek Kumar says:


      I have already mentioned that autojump learns from you. After installing it, you need to train it. cd to your most-frequently visited directories and then it will work.

      However, if you could not do it, you may write me an email @ avishek1210[at] with your Input commands. your Output Message and your SSH access very clearly, so that i can assist.

  9. Chang Limin says:

    It’s a good command. I think it will be better if integrate some functions from pushd/popd.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.