Results 1 to 4 of 4
Hi everyone,
I'm pretty new to linux. I'm running a script which adds some environment variables such as JAVA_HOME to .profile file. As of now i'm restarting my system whenever ...
- 11-12-2010 #1Just Joined!
- Join Date
- Nov 2010
- Posts
- 2
[SOLVED] Changes in .profile
Hi everyone,
I'm pretty new to linux. I'm running a script which adds some environment variables such as JAVA_HOME to .profile file. As of now i'm restarting my system whenever i make changes in .profile to reflect the changes.
Is there any way to reflect the changes made in .profile file without either restarting or rebooting the system..?
It will be very helpful if there are some commands which i can include in my script so that my system need not be restarted.
Any help would be appreciated.
Regards
Anandh
- 11-12-2010 #2
Try:
this is assuming your in $HOME directory.Code:$ > source ./.profile
- 11-12-2010 #3Just Joined!
- Join Date
- Nov 2010
- Posts
- 2
Thanks barriehie. It worked like a gem.
- 11-12-2010 #4


