.bash_profile 和 .bashrc 对比
来源:互联网 发布:微观经济数据库 编辑:程序博客网 时间:2024/05/14 11:02
一句话,.bash_profile是登陆后的环境变量,.bashrc是未登录的
when working with Linux, Unix, and Mac OS X, I always forget which bash config file to edit when I want to set my PATH and other environmental variables for my shell. Should you edit .bash_profile or .bashrc in your home directory?
You can put configurations in either file, and you can create either if it doesn’t exist. But why two different files? What is the difference?According to the bash man page, .bash_profile is executed for login shells, while .bashrc is executed for interactive non-login shells.
ref:http://www.joshstaiger.org/archives/2005/07/bash_profile_vs.html
- .bash_profile 和 .bashrc 对比
- .bash_profile 和 .bashrc 对比
- .bash_profile 和 .bashrc 对比
- .bash_profile 和 .bashrc 对比
- .bash_profile 和 .bashrc 对比
- .bash_profile 和 .bashrc 区别
- .bash_profile和.bashrc
- .bash_profile和.bashrc
- .bash_profile和.bashrc
- .bash_profile和.bashrc
- .bash_profile和.bashrc
- .bash_profile、.bashrc、和.bash_logout
- .bash_profile 和 .bashrc 区别
- .bash_profile和.bashrc区别
- .bash_profile和.bashrc
- .bash_profile和.bashrc说明
- bash_profile和bashrc区别
- .bash_profile和.bashrc的区别
- ORALCE DBA学习1
- (转)PGA学习
- 超棒的30款JS类库和工具
- (转)ORACLE10G导入11G导出的文件
- oracle安装之后,EM和isqlplus的端口号的查看
- .bash_profile 和 .bashrc 对比
- cakephp的分页排序
- 超棒的30款JS类库和工具
- Java 处理字符串中的换行
- 35个不错的jquery 动画教程
- struts2伪静态
- gzip两个在线监测网站
- 10个免费的在线网站测速工具
- 小结几个网络速度测试的术语