How to set an Enviroment variable?
Derek Broughton
news at pointerstop.ca
Wed Mar 19 23:10:29 UTC 2008
Dario Figueira wrote:
> the subject says it all, in Windows i know how, My Computer proprieties ->
> advanced and it's there
> and here? :)
export abc=xyz
Now, how you make it stick is a whole other problem.
It's really not as simple as saying "how do I set an environment variable".
There are a lot of options.
To set a variable for a specific program invocation, you can just use:
# variable=value program
e.g.:
# LANG=fr_CA kate
To set a variable for a user at login, you can use the export command in the
~/.bashrc file.
To set it for everybody, you could use /etc/profile
--
derek
More information about the kubuntu-users
mailing list