What are the differences between a login shell and interactive shell? – stackoverflow
(non-)interactive (non-)login shell
1 login shell 当bash以login shell形式登录的时候,bash会依次执行下列脚本,进行关键全局变量的初始化,如PATH。 /etc/profile ~/.b…
-->
1 login shell 当bash以login shell形式登录的时候,bash会依次执行下列脚本,进行关键全局变量的初始化,如PATH。 /etc/profile ~/.b…