1

I don't have administration level, so I installed autojump according to the following step:

git clone https://github.com/wting/autojump.git
cd autojump
python install.py

Everything seems fine, and it tells me to add

[[ -s /fs/home/qqq/.autojump/etc/profile.d/autojump.sh ]] && source /fs/home/qqq/.autojump/etc/profile.d/autojump.sh

into bashrc. I did it and restart.

However, after typing j, it warns me:

-bash: /fs/home/qqq/.autojump/bin/autojump: Permission denied autojump: directory '' not found \n\n Try autojump --help for more information.

What is wrong? How to solve it?

closed as unclear what you're asking by Jeff Schaller, Archemar, sam, cuonglm, G-Man Mar 23 '17 at 0:43

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • What is j or in j? – Julie Pelletier Mar 21 '17 at 2:43
  • 2
    Looking at it, you seem to be missing the only required argument, the directory. You should probably reread its documentation. Note that I see absolutely no good use for this tool but that's your business. – Julie Pelletier Mar 21 '17 at 2:51
  • 1
    it's my understanding, only from reading the project's pages, that you're supposed to use j some-pattern-here, and not just a plain j as you did. What do you expect to happen with a bare j command? – Jeff Schaller Mar 21 '17 at 13:25
  • 1
    @JeffSchaller Well, simply j is equivalent to cd -. I have test this on another linux – user15964 Mar 21 '17 at 13:29
  • 1
    cd - is a shortcut for "cd to $OLDPWD" -- had you changed directories before running j? – Jeff Schaller Mar 21 '17 at 13:31

Browse other questions tagged or ask your own question.