When you using backticks at the shell or in a script it attempts to execute the contents as if it was a program.
This line is trying to execute the program named /home/Jim
, but I believe from what I can get out of your question, this is your home directory, not an executable program. So what you almost certainly need to do is put the /home/Jim
in quotes, not backticks (`).
my_path=`/home/Jim`