SCIENTIFIC-LINUX-USERS Archives

January 2017

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Paul Robert Marino <[log in to unmask]>
Reply To:
Date:
Fri, 13 Jan 2017 22:16:22 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
I usually use /etc/profile.d/ my self

  Original Message  
From: ToddAndMargo
Sent: Friday, January 13, 2017 21:20
To: [log in to unmask]
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ATOM RSS1 RSS2