You are not logged in.

#1 2012-02-17 04:15:31

tinhtruong
Member
From: Australia
Registered: 2008-12-18
Posts: 117

How to refresh enviroment varibles without rebooting?

I have some scripts in /etc/profile.d/ to expose a couple of environment variables. After I make changes to those script, how can I get the system to recognize them system-wide without rebooting or logout/login?

Many thanks,
Tinh

Last edited by tinhtruong (2012-02-17 04:15:54)

Offline

#2 2012-02-17 07:06:06

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: How to refresh enviroment varibles without rebooting?

Try

# source /etc/profile

Burninate!

Offline

Board footer

Powered by FluxBB