Debian 9.4— .profile not read on bash login

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite












The .profile file includes a statement to add the $HOME/bin directory to the PATH (if that bin directory exists). This is not being executed on my bash login.



If I manually load the .profile file



. .profile 


then the PATH is set.



On session start, the .bashrc file is read. It includes a statement to read the .bash_aliases file if it exists, and I can see that the aliases are set.



The .profile file includes a statement to read the .bashrc file if it exists so I assume that the bash init should read the .profile where it is now reading the .bashrc.



This isn't happening. Please advise.



Thanks.







share|improve this question





















  • I am not filing bug reports to LG just because my TV does not broadcast cable channels and netflix for free...
    – Rui F Ribeiro
    Apr 20 at 14:01














up vote
-1
down vote

favorite












The .profile file includes a statement to add the $HOME/bin directory to the PATH (if that bin directory exists). This is not being executed on my bash login.



If I manually load the .profile file



. .profile 


then the PATH is set.



On session start, the .bashrc file is read. It includes a statement to read the .bash_aliases file if it exists, and I can see that the aliases are set.



The .profile file includes a statement to read the .bashrc file if it exists so I assume that the bash init should read the .profile where it is now reading the .bashrc.



This isn't happening. Please advise.



Thanks.







share|improve this question





















  • I am not filing bug reports to LG just because my TV does not broadcast cable channels and netflix for free...
    – Rui F Ribeiro
    Apr 20 at 14:01












up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











The .profile file includes a statement to add the $HOME/bin directory to the PATH (if that bin directory exists). This is not being executed on my bash login.



If I manually load the .profile file



. .profile 


then the PATH is set.



On session start, the .bashrc file is read. It includes a statement to read the .bash_aliases file if it exists, and I can see that the aliases are set.



The .profile file includes a statement to read the .bashrc file if it exists so I assume that the bash init should read the .profile where it is now reading the .bashrc.



This isn't happening. Please advise.



Thanks.







share|improve this question













The .profile file includes a statement to add the $HOME/bin directory to the PATH (if that bin directory exists). This is not being executed on my bash login.



If I manually load the .profile file



. .profile 


then the PATH is set.



On session start, the .bashrc file is read. It includes a statement to read the .bash_aliases file if it exists, and I can see that the aliases are set.



The .profile file includes a statement to read the .bashrc file if it exists so I assume that the bash init should read the .profile where it is now reading the .bashrc.



This isn't happening. Please advise.



Thanks.









share|improve this question












share|improve this question




share|improve this question








edited Jun 17 at 1:46
























asked Apr 20 at 13:16









Stephen Boston

1597




1597











  • I am not filing bug reports to LG just because my TV does not broadcast cable channels and netflix for free...
    – Rui F Ribeiro
    Apr 20 at 14:01
















  • I am not filing bug reports to LG just because my TV does not broadcast cable channels and netflix for free...
    – Rui F Ribeiro
    Apr 20 at 14:01















I am not filing bug reports to LG just because my TV does not broadcast cable channels and netflix for free...
– Rui F Ribeiro
Apr 20 at 14:01




I am not filing bug reports to LG just because my TV does not broadcast cable channels and netflix for free...
– Rui F Ribeiro
Apr 20 at 14:01










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










Please see this excellent answer from @filipe-brandenburger on this site.



debian : read order of bash session configuration files inconsistent






share|improve this answer





















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438936%2fdebian-9-4-profile-not-read-on-bash-login%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote



    accepted










    Please see this excellent answer from @filipe-brandenburger on this site.



    debian : read order of bash session configuration files inconsistent






    share|improve this answer

























      up vote
      0
      down vote



      accepted










      Please see this excellent answer from @filipe-brandenburger on this site.



      debian : read order of bash session configuration files inconsistent






      share|improve this answer























        up vote
        0
        down vote



        accepted







        up vote
        0
        down vote



        accepted






        Please see this excellent answer from @filipe-brandenburger on this site.



        debian : read order of bash session configuration files inconsistent






        share|improve this answer













        Please see this excellent answer from @filipe-brandenburger on this site.



        debian : read order of bash session configuration files inconsistent







        share|improve this answer













        share|improve this answer



        share|improve this answer











        answered May 4 at 11:43









        Stephen Boston

        1597




        1597






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438936%2fdebian-9-4-profile-not-read-on-bash-login%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Peggy Mitchell

            Palaiologos

            The Forum (Inglewood, California)