What is a login or non-login shell?
那什么是登录或非登录shell呢?
To test the logout script, type exit (you cannot type logout in a non-login shell). You should see
要测试注销脚本,可以输入exit(您不能在非登录 Shell 中输入 logout)。
A login shell is also an interactive shell; however, you can force a non-interactive shell to behave like a login shell.
登录Shell也是一种交互的Shell;然而,您可以强制非交互的Shell按照登录Shell的方式工作。
A login shell is also an interactive shell; however, you can force a non-interactive shell to behave like a login shell.
登录Shell也是一种交互的Shell;然而,您可以强制非交互的Shell按照登录Shell的方式工作。
应用推荐