1.位于etc的两个配置文件(/etc/profile,/etc/bashrc)均为全局的,适用与每一个用户
2./etc/profile用于配置系统整体环境与自启动程序(System wide environment and startup programs)
3./etc/bashrc用于配置系统整体函数与缩写(System wide functions and aliases)
4.~/.bash_profile为用户自定的bash信息,其会自动读取~/.bashrc的内容
以下给出鸟哥的login shell配置文件读取流程的图像