LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   trying to get new version of mozilla to execute when I give "mozilla" command (https://www.linuxquestions.org/questions/linux-software-2/trying-to-get-new-version-of-mozilla-to-execute-when-i-give-mozilla-command-123867/)

lynchmob09 12-08-2003 10:35 AM

trying to get new version of mozilla to execute when I give "mozilla" command
 
Instead, I have to go to the new location of the updated version. Is there a way I can change the command "mozilla" to be executed by something different. Everytime i use it, it gives me the old version of mozilla.

josh

spurious 12-08-2003 11:06 AM

Your 'mozilla' command is probably just a symlink located in /usr/bin or /usr/local/bin. Do a 'locate' mozilla, and see if either of those two directories show up. Then remove the pre-existing symlink and make a new one to the updated mozilla

e.g. ln -s /usr/local/mozilla-1.5/mozilla /usr/local/bin/mozilla

MartinN 12-08-2003 11:13 AM

This could probably be done in as many ways as there are Linux users. :) I would have made a 'which mozilla' to know what Mozilla executable is in your path. Then, as spurious suggests, made a symbolic link.

Regards
Martin


All times are GMT -5. The time now is 02:22 PM.