About 1,070,000 results
Open links in new tab
  1. What is the difference between ~/.profile and ~/.bash_profile?

    Feb 27, 2019 · The .profile was the original profile configuration for the Bourne shell (a.k.a., sh). bash, being a Bourne compatible shell will read and use it. The .bash_profile on the other …

  2. What is the difference between .profile and .bash_profile and why …

    The .profile dates back to the original Bourne shell known as sh. Since the GNU shell bash is (depending on its options) a superset of the Bourne shell, both shells can use the same …

  3. What do the scripts in /etc/profile.d do? - Unix & Linux Stack …

    What about appending lines to profile.local? Is this acceptable vs. creating scripts in the profile.d folder?

  4. Setting PATH vs. exporting PATH in ~/.bash_profile [duplicate]

    What's the difference and which is better to use when customizing my bash profile? Documentation on the export command is scarce, as it's a builtin cmd. Excerpt from version 1 …

  5. How to permanently set environmental variables

    You can add it to the file .profile or your login shell profile file (located in your home directory). To change the environmental variable "permanently" you'll need to consider at least these situations:

  6. What is the purpose of .bashrc and how does it work?

    My comment is just a stronger statement of Ilmari Karonen's 2014 comment. It is factually incorrect to say ".bashrc runs on every interactive shell launch". A login shell is an interactive …

  7. How to add a function to .bash_profile/.profile/bashrc in shell?

    Well I tried your way for creating a custom function of printing it's argument, but even if I add that function in .bash_profile then also I have to do source ~/.bash_profile everytime I open …

  8. How to correctly add a path to PATH? - Unix & Linux Stack Exchange

    Feb 21, 2016 · The profile file is read by login shells, so it will only take effect the next time you log in. (Some systems configure terminals to read a login shell; in that case you can start a …

  9. ubuntu - AppArmor Error preventing removing AA, Repairing AA …

    Jan 7, 2024 · Issue the following: dpkg -S <offending profile> This should tell us the package the profile belongs to. Use the Ubuntu Launchpad to search for the package. See if there is …

  10. Alma Linux - nmcli " No suitable device found"

    Jun 26, 2024 · You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation …