how to make permanent changes to environment variables?
Hi,
Is there a way to change the values of some environment variables permanently? Or may be I write a shell script that changes the value of an environment variable and it automatically runs at the start of each new session? Thanks |
i was wondering the same thing except i am to busy writing a kernel
|
You can always use your ~/.bashrc. Which environment variables are you referring? I have several global variables declared in my ~/.bashrc
Something like this in my ~/.bashrc e.g. Code:
# Global FLAGS |
This is from the bash man page :
Quote:
|
you can also set them system wide in /etc/profile you should make a back up of this file BEFORE YOU EDIT IT
|
Thanks.. I got it
|
Quote:
|
Quote:
|
Not a fan of South Park, I guess? I don't blame you, who has time to watch South Park when they're busy writing a kernel.
|
All times are GMT -5. The time now is 03:08 PM. |