当通过旧的 Bourne shell ( sh)登录到 Linux/Unix 系统时,我们.profile有为我们定制环境的文件。一些来源还引用.shinit文件或.shrc文件。什么时候适合使用其中之一,它们之间有什么区别?
sh
.profile
.shinit
.shrc
shell
shell ×1