LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-20-2003, 12:36 AM   #1
thotFree
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?

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

Rep: Reputation: 79
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)
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:28 PM.

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