Ubuntu 19.04 .bash_profile doesn't exists Announcing the arrival of Valued Associate #679:...

Is the time—manner—place ordering of adverbials an oversimplification?

Why can't fire hurt Daenerys but it did to Jon Snow in season 1?

Where did Ptolemy compare the Earth to the distance of fixed stars?

Why is there so little support for joining EFTA in the British parliament?

latest version of QGIS fails to edit attribute table of GeoJSON file

2018 MacBook Pro won't let me install macOS High Sierra 10.13 from USB installer

In musical terms, what properties are varied by the human voice to produce different words / syllables?

Derived column in a data extension

Does the main washing effect of soap come from foam?

Why are two-digit numbers in Jonathan Swift's "Gulliver's Travels" (1726) written in "German style"?

How to achieve cat-like agility?

Sally's older brother

Does the universe have a fixed centre of mass?

systemd and copy (/bin/cp): no such file or directory

3D Masyu - A Die

One-one communication

How to ask rejected full-time candidates to apply to teach individual courses?

Is a copyright notice with a non-existent name be invalid?

Can gravitational waves pass through a black hole?

When does a function NOT have an antiderivative?

Is this Kuo-toa homebrew race balanced?

What does 丫 mean? 丫是什么意思?

Where and when has Thucydides been studied?

Does the Rock Gnome trait Artificer's Lore apply when you aren't proficient in History?



Ubuntu 19.04 .bash_profile doesn't exists



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)What options are there for indexing my filesystem?App installed in ~/usr launches from terminal but not Applications menu (or why does setting ld_library_path in .profile not work as it should)Unexpected deletion of directory“No such file or directory”, but the file existsdeleting a file from an user account when only the guest account is accessibleWhere are the pristine, untouched contents of a ~/.profile file?file manager permission based on users on AjentiPossible to move the hidden text files from $HOME to someplace else?Can the Files application in 18.04 search across links?How does cp -a work





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I'm trying to setup the WP-CLI completion from their site
but I couldn't find the ~/.bash_profile file in my home directory and I tried the instructions with the ~/.bashrc file, I followed the zsh instructions too but it didn't work. Is it normal that there is no .bash_profile? Is it good if I create it manually?
Terminal Files










share|improve this question







New contributor




Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    I'm trying to setup the WP-CLI completion from their site
    but I couldn't find the ~/.bash_profile file in my home directory and I tried the instructions with the ~/.bashrc file, I followed the zsh instructions too but it didn't work. Is it normal that there is no .bash_profile? Is it good if I create it manually?
    Terminal Files










    share|improve this question







    New contributor




    Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I'm trying to setup the WP-CLI completion from their site
      but I couldn't find the ~/.bash_profile file in my home directory and I tried the instructions with the ~/.bashrc file, I followed the zsh instructions too but it didn't work. Is it normal that there is no .bash_profile? Is it good if I create it manually?
      Terminal Files










      share|improve this question







      New contributor




      Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I'm trying to setup the WP-CLI completion from their site
      but I couldn't find the ~/.bash_profile file in my home directory and I tried the instructions with the ~/.bashrc file, I followed the zsh instructions too but it didn't work. Is it normal that there is no .bash_profile? Is it good if I create it manually?
      Terminal Files







      files .profile






      share|improve this question







      New contributor




      Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 3 hours ago









      Mauricio GtzMauricio Gtz

      83




      83




      New contributor




      Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          0















          Is it normal that there is no .bash_profile?




          Yes it is - the default files copied from /etc/skel during account creation by adduser are:



          $ ls -A /etc/skel
          .bash_logout .bashrc .config .kshrc .mkshrc .profile Templates


          As you can see, there is a default .bash_logout but no default .bash_profile.




          Is it good if I create it manually?




          Yes that's fine - be aware that if you do so, it will be read in preference to the ~/.profile file - from the INVOCATION section of man bash:




             When bash is invoked as an interactive login shell, or as a  non-inter‐
          active shell with the --login option, it first reads and executes com‐
          mands from the file /etc/profile, if that file exists. After reading
          that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
          in that order, and reads and executes commands from the first one that
          exists and is readable. The --noprofile option may be used when the
          shell is started to inhibit this behavior.



          so you may wish to source ~/.profile from the new ~/.bash_profile in order to maintain any functionality that it provides.






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });






            Mauricio Gtz is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1135884%2fubuntu-19-04-bash-profile-doesnt-exists%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0















            Is it normal that there is no .bash_profile?




            Yes it is - the default files copied from /etc/skel during account creation by adduser are:



            $ ls -A /etc/skel
            .bash_logout .bashrc .config .kshrc .mkshrc .profile Templates


            As you can see, there is a default .bash_logout but no default .bash_profile.




            Is it good if I create it manually?




            Yes that's fine - be aware that if you do so, it will be read in preference to the ~/.profile file - from the INVOCATION section of man bash:




               When bash is invoked as an interactive login shell, or as a  non-inter‐
            active shell with the --login option, it first reads and executes com‐
            mands from the file /etc/profile, if that file exists. After reading
            that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
            in that order, and reads and executes commands from the first one that
            exists and is readable. The --noprofile option may be used when the
            shell is started to inhibit this behavior.



            so you may wish to source ~/.profile from the new ~/.bash_profile in order to maintain any functionality that it provides.






            share|improve this answer




























              0















              Is it normal that there is no .bash_profile?




              Yes it is - the default files copied from /etc/skel during account creation by adduser are:



              $ ls -A /etc/skel
              .bash_logout .bashrc .config .kshrc .mkshrc .profile Templates


              As you can see, there is a default .bash_logout but no default .bash_profile.




              Is it good if I create it manually?




              Yes that's fine - be aware that if you do so, it will be read in preference to the ~/.profile file - from the INVOCATION section of man bash:




                 When bash is invoked as an interactive login shell, or as a  non-inter‐
              active shell with the --login option, it first reads and executes com‐
              mands from the file /etc/profile, if that file exists. After reading
              that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
              in that order, and reads and executes commands from the first one that
              exists and is readable. The --noprofile option may be used when the
              shell is started to inhibit this behavior.



              so you may wish to source ~/.profile from the new ~/.bash_profile in order to maintain any functionality that it provides.






              share|improve this answer


























                0












                0








                0








                Is it normal that there is no .bash_profile?




                Yes it is - the default files copied from /etc/skel during account creation by adduser are:



                $ ls -A /etc/skel
                .bash_logout .bashrc .config .kshrc .mkshrc .profile Templates


                As you can see, there is a default .bash_logout but no default .bash_profile.




                Is it good if I create it manually?




                Yes that's fine - be aware that if you do so, it will be read in preference to the ~/.profile file - from the INVOCATION section of man bash:




                   When bash is invoked as an interactive login shell, or as a  non-inter‐
                active shell with the --login option, it first reads and executes com‐
                mands from the file /etc/profile, if that file exists. After reading
                that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
                in that order, and reads and executes commands from the first one that
                exists and is readable. The --noprofile option may be used when the
                shell is started to inhibit this behavior.



                so you may wish to source ~/.profile from the new ~/.bash_profile in order to maintain any functionality that it provides.






                share|improve this answer














                Is it normal that there is no .bash_profile?




                Yes it is - the default files copied from /etc/skel during account creation by adduser are:



                $ ls -A /etc/skel
                .bash_logout .bashrc .config .kshrc .mkshrc .profile Templates


                As you can see, there is a default .bash_logout but no default .bash_profile.




                Is it good if I create it manually?




                Yes that's fine - be aware that if you do so, it will be read in preference to the ~/.profile file - from the INVOCATION section of man bash:




                   When bash is invoked as an interactive login shell, or as a  non-inter‐
                active shell with the --login option, it first reads and executes com‐
                mands from the file /etc/profile, if that file exists. After reading
                that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
                in that order, and reads and executes commands from the first one that
                exists and is readable. The --noprofile option may be used when the
                shell is started to inhibit this behavior.



                so you may wish to source ~/.profile from the new ~/.bash_profile in order to maintain any functionality that it provides.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 12 mins ago









                steeldriversteeldriver

                71.1k11115187




                71.1k11115187






















                    Mauricio Gtz is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    Mauricio Gtz is a new contributor. Be nice, and check out our Code of Conduct.













                    Mauricio Gtz is a new contributor. Be nice, and check out our Code of Conduct.












                    Mauricio Gtz is a new contributor. Be nice, and check out our Code of Conduct.
















                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1135884%2fubuntu-19-04-bash-profile-doesnt-exists%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    List of shipwrecks in 1808...

                    Is there a lightweight tool to crop images quickly?Cropping Images using Command Line Tools OnlyHow to crop...

                    How do I enter a file or directory with special characters in its name?How to write the path of a folder with...