/etc/bash.bashrc、/etc/profile、终端 设置
来源:互联网 发布:跳舞吧软件下载 编辑:程序博客网 时间:2024/05/18 01:49
添加配置项,共有两种方式
方式一:修改/etc/bash.bashrc文件
#gedit /etc/bash.bashrc
在最后加上:
# gedit /etc/profile
增加路径设置,在末尾添加如下,保存/etc/profile文件:
方式一:修改/etc/bash.bashrc文件
#gedit /etc/bash.bashrc
在最后加上:
export PATH=/usr/local/arm/4.4.3/bin:$PATH
# gedit /etc/profile
增加路径设置,在末尾添加如下,保存/etc/profile文件:
export PATH=/usr/local/arm/4.4.3/bin:$PATH
注意设置变量后,重新开机才能看见shell运行
方式三:修改~/.bashrc
# gedit ~/.bashrc
增加路径设置,在末尾添加如下,保存~/.bashrc文件:
export PATH=/usr/local/arm/4.4.3/bin:$PATH你
运行 source ~/.bashrc 生效
#export PATH=/usr/local/arm/4.4.3/bin:$PATH
注:(这只能在当前的终端下才是有效的!) 0 0
- /etc/bash.bashrc、/etc/profile、终端 设置
- 关于Debian中的/etc/.profile, /etc/bash.bashrc, ~/.bashrc, ~/.profile,
- Linux中的~/.profile,~/.bashrc,/etc/profile,/etc/bash.bashrc
- Linux环境变量设置/etc/profile、/etc/bashrc、~/.profile、~/.bashrc区别
- 详解/etc/profile、/etc/bash.bahsrc、~/.profile、~/.bashrc的用途
- 详解/etc/profile、/etc/bash.bahsrc、~/.profile、~/.bashrc的用途
- Bash: about .bashrc, .bash_profile, .profile, /etc/profile, etc/bash.bashrc and others
- /etc/bashrc和/etc/profile
- 启动文件rc.local、/etc/bash.bashrc、~/bashrc、/etc/profile、~/.profile【转载from joyride】值得了解
- Bash初始化文件/etc/profile .bash_pro-file .bash_login .profile .bash_logout /etc/bashrc .bashrc
- 登录shell 非登录shell /etc/bash.bashrc /etc/profile ~/.bashrc ~/.profile
- Linux 配置文件 启动文件rc.local、/etc/bash.bashrc、~/bashrc、/etc/profile、~/.profile加载顺序
- 启动文件rc.local、/etc/bash.bashrc、~/bashrc、/etc/profile、~/.profile【转载from joyride】值得了解
- 启动文件rc.local、/etc/bash.bashrc、~/bashrc、/etc/profile、~/.profile【转载from joyride】值得
- .bashrc和/etc/profile
- /etc/profile ~/.bashrc区别
- /etc/profile、/etc/bashrc、~/.bash_profile、~/.bashrc
- /etc/profile、/etc/bashrc、~/.bash_profile、~/.bashrc
- HTML
- 【开发必知】基本缓存概念
- 做个环保主义的程序员
- tcp PUSH 标志的理解
- uboot移植过程中的运行地址和装载地址的区别
- /etc/bash.bashrc、/etc/profile、终端 设置
- 第七周项目三 求两数正差值
- 10月1,我与“传销”组织面对面
- 引入jquery的方法
- MVC过滤器使用案例:统一处理异常顺道精简代码
- apache httpd服务 错误排除方法
- SQL server数据库中的DateTime类型出现的问题
- Linux下设置ip和主机名进行绑定
- .globl _start 含义