-   Linux - Software (
-   -   help with a symbolic link (

mykrob 11-22-2004 08:09 AM

help with a symbolic link
I need a little help creating a symbolic link. I want to make a sym-link to Azureus and place it in /home/myk/bin so that i can run azureus from a run prompt. I have done this before, but i must be messing something up..

here's what i tried:

ln -s "/home/myk/Downloads/azureus/azureus" /homemyk/bin/azureus
now, if i click on the link i just made, it opens up azureus. If i type "azureus" in the run box, it is accepted as a command, but the application does not open. If it matters, the file is a shell script, not a binary. How can i successfully create this link to run from a run prompt? I know i could just make an icon on the desktop, but now that i have started, i have to finish this way just for the sake of learning..


fsbooks 11-22-2004 08:13 AM

Simple question first: if you type "/home/myk/Downloads/azureus/azureus" does the program run?

acid_kewpie 11-22-2004 08:14 AM

from your home directory, run "./bin/azureus"

b0uncer 11-22-2004 08:17 AM

just to check out...does the app need to be launched in a specific directory to work? I mean, if you're in /home/xxyy and launch it and it works, it might not work if you're in, say, / or /someplace/else. that is, some files that the app needs are in the folder the executable is in, and it tries to launch them from the same dir (not with the full path).

so you might need to create a whole new script instead of the symlink, that would first cd into the dir and only then launch the other script....

mykrob 11-22-2004 08:31 AM


Originally posted by fsbooks
Simple question first: if you type "/home/myk/Downloads/azureus/azureus" does the program run?
yes, this works from the run prompt.


exvor 11-22-2004 09:44 AM

Its posslibe the script is running some commands in the direcotry that it acutally is in

example would be like say i have the cats pogram in /home/me/cats
but in the script it says " do ./cats"

You would have to change the path to be exact something like "do /home/me/cats"

also if you can post your script here it mabye helpfull in resolving the problem.

rutgerw 11-22-2004 10:01 AM

is /home/myk/bin/ in your PATH? you can check by typing


echo $PATH
If not it might be easier to put the link in /usr/bin since that directory is in your PATH for sure.

All times are GMT -5. The time now is 10:38 PM.