About 59 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 is a link to …

  2. What is the difference between .profile and .bash_profile and why don't ...

    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 startup file. …

  3. 文献中的“profile”该如何翻译? - 知乎

    干嘛要翻译?profile就是profile。 我语文不好,profile那种对某种观点 (viewpoint)下所呈现出来的特征总体,我真的不知道用什么中文词汇去描述,英文的话,a complete collection of featured patterns可 …

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

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

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

    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, which are …

  6. When is .profile executed? - Unix & Linux Stack Exchange

    Feb 28, 2017 · I was installing an application and had trouble with understanding why the installation guide told to add an export command to the one of startup files. I did not see when it is executed. …

  7. 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 new terminal …

  8. Why doesn't my ~/.bash_profile work? - Unix & Linux Stack Exchange

    The file ~/.bash_profile is read by bash when it is a login shell. That's what you get when you log in in text mode. When you log in under X, the startup scripts are executed by /bin/sh. On Ubuntu and …

  9. How to permanently set environmental variables

    Feb 28, 2014 · 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 …

  10. Why isn't bash reading my `~/.profile`? - Unix & Linux Stack Exchange

    Jul 25, 2024 · If I run source ~/.profile it does get added to my PATH. I definitely don't have a ~/.bash_login or ~/.bash_profile -- so why would bash not read my local .profile? adding in answer to …