I usually use /etc/profile.d/ my self Original Message From: ToddAndMargo Sent: Friday, January 13, 2017 21:20 To: scientific-linux-users@fnal.gov Subject: Re: I need to add something to my global PATH
On 01/13/2017 06:13 PM, jdow wrote: > On 2017-01-13 17:42, ToddAndMargo wrote: >> Hi All, >> >> Google is failing me here. All I get is how to alter the path locally. >> >> I want to add something to the PATH so the EVERYONE see it. > > Edit /etc/profile > >> And one I make the changes, how do I reload the thing without having >> to reboot? > > That's easy, logout and log back in. > > So far as I know you can't do this without the logout. /etc/profile is > read on login. Changing an existing bash instance seems to require > manually fiddling with the PATH environment setting inside the running > bash instance. > > {^_^} Thank you! I used pathmunge inside profile -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Computers are like air conditioners. They malfunction when you open windows ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~