LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Universal Environment Path SET (https://www.linuxquestions.org/questions/linux-newbie-8/universal-environment-path-set-243203/)

apocolpse 10-15-2004 07:13 PM

Universal Environment Path SET
 
How can I set/add to the environment path for all users on my linux box ?

IBall 10-16-2004 02:56 AM

In the file /etc/profile (You need to be root):

PATH = /new/directory/to/be/added:$PATH
export PATH

Now, you should be able to type: "source /etc/profile", and the new directory will be added to the path of all users.

--Ian


All times are GMT -5. The time now is 06:40 AM.