Bash Shell 启动配置文件
2013-02-07 11:51
316 查看
bash先执行/etc/profile,再调用~/.bash_profile
注销
bash调用~/.bash_logout
执行新shell
先调用/etc/bash.bashrc,再调用~/.bashrc
执行script(使用#!/bin/bash)
不调用.bash_profile、.bashrc,但会检查BASH_ENV中的内容,如果为非空,则执行它指定的启动文件。
执行script(使用#!/bin/sh)
不调用任何启动尤物移人 ,没有其它检查环境变量的操作。
注销
bash调用~/.bash_logout
执行新shell
先调用/etc/bash.bashrc,再调用~/.bashrc
执行script(使用#!/bin/bash)
不调用.bash_profile、.bashrc,但会检查BASH_ENV中的内容,如果为非空,则执行它指定的启动文件。
执行script(使用#!/bin/sh)
不调用任何启动尤物移人 ,没有其它检查环境变量的操作。
相关文章推荐
- 关于shell启动时调用的几个配置文件/etc/profile .profile .bash_profile .bashrc等
- bash shell执行、排错、启动配置文件
- bash配置文件开机启动
- Linux 配置文件 启动文件rc.local、/etc/bash.bashrc、~/bashrc、/etc/profile、~/.profile加载顺序
- 安装盘启动系统,挂载硬盘,然后进入shell模式修改配置文件
- linux中各个shell配置脚本文件的作用域和启动时间
- Bash Shell的环境配置文件
- Shell、Bash,与终端配置文件
- 环境配置文件: login, non-login shell, /etc/profile, ~/.bash_profile, source, ~/.bashrc
- bash again shell的启动文件
- bash配置文件中alias错误会引起shell异常
- centos shell基础 alias 变量单引号 双引号 history 错误重定向 2>&1 jobs 环境变量 .bash_history source配置文件 nohup & 后台运行 cut,sort,wc ,uniq ,tee ,tr ,split, paste cat> 2.txt <<EOF 通配符 glob模式 发邮件命令mail 2015-4-8 第十二节课
- bash 的环境配置 及文件读取流程(login shell 环境下)
- linux下系统启动时,几个配置文件 /etc/profile、~/.bash_profile 等几个文件的执行过程,先后顺序
- linux学习篇8--- shell,bash讲解 2 bash的配置文件
- login-shell和non login-shell区别 & bash配置文件实验报告
- Shell编程入门进阶之bash配置文件介绍
- linux下系统启动时,几个配置文件 /etc/profile、~/.bash_profile 等几个文件的执行过程,先后顺序
- shell启动时读取的配置文件
- linux下系统启动时,几个配置文件 /etc/profile、~/.bash_profile 等几个文件的执行过程,先后顺序