Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created a symbolic link via ln -s pathname/folder/ whatever and I now have a bright blue link in my home directory with the symbolic link command name but when I try whatever hello_world, it's giving me an error saying whatever: command not found.

What I want to do works when I re-type out the pathname and file but the symbolic link seems to be doing nothing....which means I did something wrong

share|improve this question
Have you tried python whatever hello_world? – Terry Wang Sep 20 '13 at 2:05

That is likely nothing to do with symbolic links per se - it is probably because by default the shell does not search the current directory for executable files (regardless of whether they are regular files or symbolic links) - if you add the relative path to whatever i.e.


it should work.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.