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

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

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

    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 …

  4. How do you run a command with sudo in `~/.profile`?

    Apr 1, 2018 · Is it a bad practice to run a command which requires sudo in ~/.profile? If really want to do that, how can I make the command run at rebooting Ubuntu? make the command …

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

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

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

  8. When should I use .bashrc and when .profile? [duplicate]

    In this case, each new terminal window will run as a login shell, and so will execute .profile or equivalent when opened. each terminal window is treated as a part of the main GUI login …

  9. openSuse /etc/profile.local file does not exist

    3 The /etc/profile.local file used to be the location to make system specific changes that would not be overwritten when /etc/profile would get an update. Your system might still source the file if it …

  10. Adding to profile.local in Ubuntu? - Unix & Linux Stack Exchange

    Get the same problem and didn't find anywhere this simple solution. After creating /etc/profile.local file by adding custom commands You should add next string in user .profile …