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


Groups > linux.debian.user > #165885

Re: User's bin path not recognised in login script

From The Wanderer <wanderer@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: User's bin path not recognised in login script
Date 2016-03-24 01:40 +0100
Message-ID <rg1tE-2X9-5@gated-at.bofh.it> (permalink)
References (1 earlier) <rfkoG-6ju-5@gated-at.bofh.it> <rfznI-af-11@gated-at.bofh.it> <rfzH4-h4-19@gated-at.bofh.it> <rfDhE-2E4-17@gated-at.bofh.it> <rg1jY-2Tv-13@gated-at.bofh.it>
Organization This space intentionally left blank.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2016-03-23 at 20:23, David Wright wrote:

> On Tue 22 Mar 2016 at 22:35:32 (+0000), Russell Gadd wrote:
> 
>> On 22/03/16 19:00, The Wanderer wrote:

>>> Also, at least on my system, ~/.bashrc is invoked only by being
>>> sourced from ~/.profile or ~/.bash_profile. Unless your system is
>>> configured fairly differently, if ~/.bashrc is getting run, that
>>> means that - per bash(1) - one of ~/.bash_profile, ~/.bash_login,
>>> or ~/.profile must be invoking it.
>>> 
>> I tested by rebooting each time. My ~/.bashrc is sourced from 
>> ~/.profile which itself is sourced from .bash_profile, but neither 
>> of them run the echo command I've added so I would assume the 
>> ~/.bashrc which runs when I open a Mate terminal is started some 
>> other way.
> 
> Take a look at   man bash   which will tell you that ~/.bashrc is
> run whenever an interactive non-login bash is started. Opening a
> terminal session with bash is exactly that.

...you're right, it does say that. I somehow managed to miss it when
searching bash(1) for 'bashrc' before, but it's right there in the first
batch of results.

I apologize for the false trail.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

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


Thread

User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-21 19:20 +0100
  Re: User's bin path not recognised in login script Sven Arvidsson <sa@whiz.se> - 2016-03-21 19:30 +0100
  Re: User's bin path not recognised in login script David Christensen <dpchrist@holgerdanske.com> - 2016-03-22 03:40 +0100
    Re: User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-22 19:40 +0100
      Re: User's bin path not recognised in login script The Wanderer <wanderer@fastmail.fm> - 2016-03-22 20:00 +0100
        Re: User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-22 23:50 +0100
          Re: User's bin path not recognised in login script The Wanderer <wanderer@fastmail.fm> - 2016-03-23 03:50 +0100
          Re: User's bin path not recognised in login script David Wright <deblis@lionunicorn.co.uk> - 2016-03-24 01:30 +0100
            Re: User's bin path not recognised in login script The Wanderer <wanderer@fastmail.fm> - 2016-03-24 01:40 +0100
            Re: User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-24 09:30 +0100
      Re: User's bin path not recognised in login script Seeker <seeker5528@comcast.net> - 2016-03-22 21:20 +0100
        Re: User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-22 23:50 +0100
      Re: User's bin path not recognised in login script Seeker <seeker5528@comcast.net> - 2016-03-22 22:10 +0100
      Re: User's bin path not recognised in login script Seeker <seeker5528@comcast.net> - 2016-03-22 22:30 +0100
      Re: User's bin path not recognised in login script seeker5528@comcast.net - 2016-03-22 22:50 +0100
        Re: User's bin path not recognised in login script Lisi Reisz <lisi.reisz@gmail.com> - 2016-03-23 00:00 +0100

csiph-web