About 1,080,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 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 …

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

  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. 电脑显示 user profile service 服务登录失败怎么办? - 知乎

    "User Profile Service"(用户配置文件服务)是Windows操作系统中一个重要的系统服务,其作用是管理用户账户配置文件的加载和卸载等操作。当它出现问题时,可能会导致无法登录到系统 …

  6. 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:

  7. Why do environment variables in `~/.profile` appear in `systemctl ...

    Nov 19, 2025 · Why do environment variables in `~/.profile` appear in `systemctl --user show-environment` but not in my terminal? Ask Question Asked 5 days ago Modified 4 days ago

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

  10. validity of imposing tmux on users - Unix & Linux Stack Exchange

    Dec 4, 2023 · So the reality of /etc/profile.d/tmux.sh causes tmux to run whenever a user does an ssh connection into Linux and also any open terminal window within a VNC session, and then …