Share your knowledge at the LQ Wiki.
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-29-2002, 12:16 PM   #1
Registered: Mar 2002
Location: Ukraine, Kiev
Distribution: Mandrake 7.2
Posts: 37

Rep: Reputation: 15
Question setting PATH

A little question.
Where can I set environment variables which have to be visible to any user?
I have just installed gprolog. It put executable in /usr/local/bin. I detected that my PATH env.var. doesn't contain this path. Therefore I add to /etc/profile something like:
PATH=$PATH:/usr/local/path; export PATH
But now I noticed that my PATH env.var. is growing every time when I start new terminal in KDE and it contains dublicate entries. How can I avoid this problem?

Old 04-29-2002, 12:54 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,632

Rep: Reputation: 208Reputation: 208Reputation: 208

It looks you have a similar entry in .bash_profile. Delete it and it should be OK.


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
Setting the path powerlifter450 Linux - Software 18 07-05-2006 10:46 AM
Setting the path.... joel112 Slackware 5 08-28-2003 01:27 PM
Setting the path Milkman00 Linux - General 2 07-26-2002 08:44 AM
Setting up PATH Sonny Linux - Newbie 4 01-28-2002 01:02 PM
PATH SETTING webboss Linux - Newbie 2 03-17-2001 05:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:49 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