modifying global variables. how?

Hello there. I would like to ask if someone can tell me how can I modify a global variables or set a new one? Can I do that through modifying a proper configuration file? If yes then where precisely it is located? I was using 'set' command, for example <set PATH=$PATH:/usr/local/java>, but after echoing $PATH ...

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar30.webp

1 Posts
Location -
Joined 2004-02-16
Hello there. I would like to ask if someone can tell me how can I modify a global variables or set a new one? Can I do that through modifying a proper configuration file? If yes then where precisely it is located? I was using 'set' command, for example <set PATH=$PATH:/usr/local/java>, but after echoing $PATH no changes were applied. I'm running Fedora Core. thanx

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar05.webp

214 Posts
Location -
Joined 2002-10-05
Code:
setenv PATH $PATH:/usr/local/java