LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   shortcut to binaries? (https://www.linuxquestions.org/questions/linux-software-2/shortcut-to-binaries-167387/)

DrGnome 04-07-2004 02:08 PM

shortcut to binaries?
 
is there a way to create a shortcut to a binary, so say i install firefox in a home directory i then want to be able to execute it by typing firefox not /root/firefox/firefox, is there a way to put a shortcut in the bin folder or somthing?

thanks

Tinkster 04-07-2004 02:27 PM

In general, yes. However, symlinks (man ln)
don't always work as one expects :} ... specially
if libraries are required, or if the symlink is to
a script of sorts.


Cheers,
Tink

Mega Man X 04-07-2004 02:27 PM

Hi there DrGnome!

You could make a symbolic link. As root, type:

ln -s /path to firefox executable /usr/bin/firefox

Good luck!

DrGnome 04-07-2004 02:33 PM

thanks


All times are GMT -5. The time now is 07:42 PM.