Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #224492
| From | Roberto C. Sánchez <roberto@debian.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell |
| Date | 2020-07-07 16:10 +0200 |
| Message-ID | <ApWsi-279-7@gated-at.bofh.it> (permalink) |
| References | <ApWiC-1Op-11@gated-at.bofh.it> <ApWiC-1Op-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Jul 07, 2020 at 09:57:34AM -0400, Stephen P. Molnar wrote: > The Subject line is the problem with my Debian Buster platform. Now from > Google I see that there has been a change in the way Debian handles this > problem. > I'm not sure what change you are referring to, but from what you describe below I find it unlikely that anything has changed in the observed behavior. > My user path statement is: > > comp@AbNormal:~$ echo $PATH > /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games > > Now I have a number of applications that have multiple executable in the app > /bin subdirectory. Hence the need to add to the users PATH statement > > As an example I have: > > /home/comp/Apps/ADFRsuite-1.0/bin > > which I would like to add to the PATH statement and: > > export PATH=$PATH:'/home/comp/Apps/ADFRsuite-1.0/bin' > > This works unless I open a new Terminal, in which case it is no longer in > the PATH. > Opening a new terminal spawns a new process. If the parent of the new process is not the shell in which you executed the 'export' command, then when the PATH variable is set based on the system and user configuration files it will lack the additional value from the 'export'. > How do I make the addition persistent? > You should add the export command to ~/.bashrc (for it to only be in effect for that user) or to /etc/bash.bashrc (for it to be in effect for all users on the system). Regards, -Roberto -- Roberto C. Sánchez
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How To Permanently Add-to a Users PATH Statement in the Bash Shell "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2020-07-07 16:00 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Roberto C. Sánchez <roberto@debian.org> - 2020-07-07 16:10 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Jonathan Dowland <jon+debian-user@dow.land> - 2020-07-07 16:20 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-07 16:40 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Zenaan Harkness <zenaan@freedbms.net> - 2020-07-08 02:10 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Roberto C. Sánchez <roberto@debian.org> - 2020-07-08 02:30 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell David Wright <deblis@lionunicorn.co.uk> - 2020-07-08 06:50 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-08 07:30 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Nicolas George <george@nsup.org> - 2020-07-07 16:40 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Nicolas George <george@nsup.org> - 2020-07-07 16:20 +0200
Fw: How To Permanently Add-to a Users PATH Statement in the Bash Shell Matthew Campbell <trenix25@pm.me> - 2020-07-07 16:10 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-07 16:20 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Zenaan Harkness <zenaan@freedbms.net> - 2020-07-08 02:10 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Zenaan Harkness <zenaan@freedbms.net> - 2020-07-08 02:50 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-08 07:30 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-08 13:50 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Zenaan Harkness <zenaan@freedbms.net> - 2020-07-08 14:50 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Nate Bargmann <n0nb@n0nb.us> - 2020-07-08 15:00 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-08 15:40 +0200
Re: How To Permanently Add-to a Users PATH Statement in the Bash Shell Nate Bargmann <n0nb@n0nb.us> - 2020-07-09 20:40 +0200
csiph-web