/etc/profile: This file sets the environment information for each user of the system. When the user logs in for the first time, the file is executed. The shell settings are collected from the configuration file in the /etc/profile.d directory. ./etc/bashrc: Execute this file for each user running the bash shell. When the bash shell is opened, the file is read.~/.bash_profile: Each user can use this file to enter their own use. Shell information, when the user logs in, the file is only executed once! By default, he sets some environment variables and executes the user's .bashrc file.~/.bashrc: This file contains bash information specific to your bash shell. The file is read when logging in and every time a new shell is opened.~/.bash_logout: Execute the file each time you quit the system (exit the bash shell).
In addition, /etc/The variables set in the profile (global) can be applied to any user, and the variables set in ~/.bashrc, etc. (local) can only inherit variables in /etc/profile, they are "parents" relations.
~/.bash_profile is an interactive, login way to run into bash~/.bashrc is interactive non- The login mode is usually the same as the bash run, so usually the former will call the latter.
I believe everyone is familiar with the xp, win7 system firewall shutdown, but for the win10 system,
On Microsofts latest push of the new generation of Windows 10 systems, as with the earlier versions
Microsoft has stopped supporting Win8, but there are still users who want to use the upgrade to Win8
A few days ago, the German media WinFuture exposed a large wave of the latest Win9 (Windows Threshol
IP address configuration error in xp system prompts the need to restart the solution
Win10 lunar calendar set graphic tutorial Manually add Win10 lunar calendar method
Win7 system to export the URL of the browser favorites
How to use the "positioning settings" function that comes with the Win8.1 system?
Win7 system in the power options set to never sleep after a while will still go to sleep solution
Inaccessible boot device prompt after Win10 reset Win10 into the system unlimited restart solution
How to fix win10 recycle bin to desktop quick access
How to delete two small people icons on the Win10 system disk?
Win7 quickly locates photos, quickly finds documents
Close the two solutions for win10 push service
Win7 32-bit flagship system to create a batch to achieve a one-click method to unlock the registry
What are the conditions for installing QQ under Windows 10 system
How to start God mode in win7 system
Remove vista system under Windows XP
Win7 correctly uses Ready For 4GB method
A blank response in Win10 Explorer
How to solve the problem that Win10 does not have a start menu?
How does the Win10 system install the .NET Framework offline?