我了解交互式 shell 和非交互式 shell 之间的基本区别。但是,登录 shell 与非登录 shell 的确切区别是什么?
你能举例说明非登录交互式shell 的使用吗?
shell login
是~/.bashrc 唯一指定用户特定环境变量、别名、PATH变量修改等的地方吗?
~/.bashrc
PATH
我问是因为这似乎~/.bashrc是bash-only,但其他 shell 也存在......
bash
bash environment-variables profile
bash ×1
environment-variables ×1
login ×1
profile ×1
shell ×1