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

    Feb 27, 2019 · The original sh sourced .profile on startup. bash will try to source .bash_profile first, but if that doesn't exist, it will source .profile. Note that if bash is started as sh (e.g. /bin/sh …

  2. What is the difference between ~/.profile, ~/.bashrc, …

    The one possible exception is /etc/profile and .profile, which may be used by multiple different shells (including at least sh and bash). There is something called an environment associated …

  3. 计算机里面的Profile怎么翻译比较好? - 知乎

    计算机里面的Profile怎么翻译比较好? 具体说就是User profile, 以及程序运行中的sample profile,词典上一般译成剖面,轮廓。 感觉这些翻译的都不是很直观,有权威的或者… 显示 …

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

    It says that the /etc/profile file sets the environment variables at startup of the Bash shell. The /etc/profile.d directory contains other scripts that contain application-specific startup files, …

  5. 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 …

  6. profile - Find out what scripts are being run by bash at login - Unix ...

    My terminal starts a login shell, so ~/.bash_profile is sourced, followed by ~/.profile and ~/.bashrc. Only in ~/.profile do I create the paths entries which are duplicated. To be pedantic, this is the …

  7. How to permanently set environmental variables

    Feb 28, 2014 · This .profile in /etc/ but I don't how to set the variables in this .profile please tell me – user3021349 Commented Feb 28, 2014 at 13:44 7

  8. what is apparmor "profile_replace" log message

    Sep 15, 2015 · It means the AppArmor profile affecting the program /usr/sbin/nmbd has been removed ("unconfined") using the apparmor_parser tool. This means that program will run …

  9. 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 …

  10. Where should I source /usr/local/etc/profile from? .bash_profile or ...

    Dec 9, 2021 · Many distributions have a directory /etc/profile.d, and put code in /etc/profile to source the files in /etc/profile.d. If your distribution does that, the best place for your machine …

Refresh