interactive/non-interactive, login/non-login shells
来源:互联网 发布:微商城与淘宝的区别 编辑:程序博客网 时间:2024/06/06 06:37
- Bash Reference Manual - GNU
- What is the difference between interactive shells, login shells, non-login shell and their use cases?
- Difference between Login Shell and Non-Login Shell?
- Cygwin Bash.exe vs. mintty.exe
- If you run
bash.exe
ormintty.exe
without options, you just get the naked shell, with its default configuration, which means it doesn’t do things like add the Cygwin/bin
to yourPATH
.
- If you run
- interactive/non-interactive
- An interactive shell reads commands from user input on a tty. Among other things, such a shell reads startup files on activation, displays a prompt, and enables job control by default. The user can interact with the shell.
- login/non-login
- A login shell is one whose first character of argument zero is
-
, or one invoked with the--login
option. When Bash is invoked as an interactive login shell, or as a non-interactive shell with the
--login
option, it first reads and executes commands from the file/etc/profile
, if that file exists. After reading that file, it looks for~/.bash_profile
,~/.bash_login
, and~/.profile
, in that order, and reads and executes commands from the first one that exists and is readable. When a login shell exits, Bash reads and executes commands from the file~/.bash_logout
, if it exists.
0 0
- interactive/non-interactive, login/non-login shells
- login shell VS interactive shell
- login shell non-login shell
- Login and non-login shell
- man bash- login shell / interactive shell
- login shell and non-login shell
- login shell和non-login shell
- login shell vs non-login shell
- Login shell or a non-login shell?
- login shell 和 non-login shell
- Difference between login and non-login shell
- login shell and non-login shell
- login shell 与non-login shell区别
- login shell 和 non-login shell
- login shell和non-login shell
- login shell和non-login shell
- login shell和non-login shell
- login shell和non-login shell
- MySQL性能优化的最佳20+条经验
- 【HDOJ 4686】 Arc of Dream (矩阵快速幂)
- Leetcode: Roman to Integer
- VS2010统计程序代码总行数
- redis实战基础篇:redis的5种数据类型的基本操作
- interactive/non-interactive, login/non-login shells
- 1007. Maximum Subsequence Sum (25)
- 【DirectX 2D游戏开发基础】DirectX的应用实例
- CodeForces 7A - Kalevitch and Chess
- CCComponentContainer,CCComponent解析
- 关于Manifest
- mysql的交集与差集
- 验证二叉查找树
- VS下生成与配置静态库与动态库(一)