Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #224490

How To Permanently Add-to a Users PATH Statement in the Bash Shell

From "Stephen P. Molnar" <s.molnar@sbcglobal.net>
Newsgroups linux.debian.user
Subject How To Permanently Add-to a Users PATH Statement in the Bash Shell
Date 2020-07-07 16:00 +0200
Message-ID <ApWiC-1Op-9@gated-at.bofh.it> (permalink)
References <ApWiC-1Op-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

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.

How do I make the addition persistent?

Thanks in advance.

-- 
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


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