What is the difference between ~ . profile and ~ . bash_profile? 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 hand is only read by bash It is intended for commands that are incompatible with the standard Bourne shell
What do the scripts in etc profile. d do? - Unix Linux Stack Exchange @AvindraGoolcharan Different distros may use different schemes for this kind of thing The profile d directory only works because its contents are sourced by etc profile, which is specified by shells such as bash as a startup file (see INVOCATION in man bash); if you edit etc profile, you can disable etc profile d
Setting PATH vs. exporting PATH in ~ . bash_profile [duplicate] Any of the ENV files first invoked by a shell such as bashrc or profile will set variable values for the life of that shell So any variables that are set and export ed within those files will maintain that export characteristic and be export ed to all child processes invoked by that shell for the life of the shell or until they are unset
bash - How to correctly add a path to PATH? - Unix Linux Stack Exchange 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 window, but the setting will take effect only for programs started via a terminal, and how to set PATH for all programs depends on the system )
How to permanently set environmental variables To do if for all users shells, depending on distro you could use etc environment or etc profile Creating a new file in etc profile d may be preferable if it exists, as it will be less likely to conflict with updates made by the packaging system
New tmux sessions do not source bashrc file This is related to the Bash init files By default, ~ bashrc is used in an interactive, non-login shell It won't be sourced in a login shell
Where is the list of supported CPU profiles in VirtualBox? VBoxManage modifyvm "myVM" --cpu-profile "Intel Core i7–6700K" Only if the profile doesn't exist, the VM will fail (it won't start at all) So I'm wondering how can I find a list of CPU profiles that will work on my host system? Update: From proc cpuinfo (one entry of 64):
Add a path in $PATH globally for every user - aix Chapter 17 Commands and Utilities 17 2 Command Behavior: sh: "[An interactive login -l shell [ ] shall] first read and execute commands from the file etc profile, if that file exists, and then from a file called ~ profile, if such a file exists Note: [sh shall also read and execute scripts in the directory etc profile d]
nmcli not showing connections - Unix Linux Stack Exchange Error: wlp3s0 - no such connection profile A thing to note is my laptop is connected to the Wi-Fi and can access the internet, and I connected to the Wi-Fi during the installation of Debian And when I restart NetworkManager, it doesn't reconnect to the Wi-Fi unless I reboot I'll gladly provide any more info for help