Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-20-2003, 12:36 AM   #1
LQ Newbie
Registered: Mar 2003
Location: Toronto
Distribution: Mandrake 9.0
Posts: 10

Rep: Reputation: 0
file associations in terminal mystery

When I type the name of an execuable into the terminal, I sometimes go to the wrong version. For example, it does not load openOffice1.0.3, even though I recently installed it.

Is there an app/command for changing these associations and for adding new ones?

related point when people are saying
$new PATH=PATH:'/usr/local/mozilla/'
$export PATH

or something of the sort, PATH is a variable, such that I would not type in "PATH", but rather type in "mozilla", correct?

Old 04-20-2003, 09:40 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
It is beacuse the programs aren't in the path. Symlink the program to /usr/bin/PROG. eg
mv /usr/bin/mozilla /usr/mozilla-1.2
ln -s /usr/local/mozilla1.3/mozilla /usr/bin/mozilla

This is only an example and I'm not sure of the mozilla paths but it should give you the idea. (I just used the version numbers so you can see what I'm trying to do)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
File Associations Altec_ Linux - Software 3 02-08-2005 01:43 PM
File Associations n0rman- Linux - Software 4 09-19-2004 07:01 AM
file associations cadj Linux - Distributions 0 04-25-2004 03:13 AM
File Associations gag Linux - Newbie 6 10-15-2003 04:34 PM
File associations Bruce Confused Linux - Newbie 5 06-05-2003 04:32 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration