PDA

View Full Version : Environment variables



kepler
11-09-2004, 02:59 PM
Hi,

Is there a way of changing the environment variables in Knoppix running with the CD? Does "set..." works?

Regards,

Kepler

baldyeti
11-09-2004, 06:04 PM
I don't know if KDE has a tool to do it (I doubt it). From a shell prompt, just type "export VAR=value". Then launch the program which uses VAR *from the same shell* so it inherits the variable you've just set.

For a HD-install, you'd typically set and export the variables in you .profile or .bash_profile to make it permanent for all your work sessions.