how to modify the enviroment varible in Ubuntu
来源:互联网 发布:淘宝多个客服怎么登陆 编辑:程序博客网 时间:2024/06/05 11:32
temporary change will gone after the terminal closed
1. Ctrl+Alt+T
2. export PATH=$PATH:{your path}
user level enviroment varible file location
- ~/.profile
- ~/.bash_profile or ~./bash_login
- ~/.bashrc
not recommand to use for the version prior to Ubuntu 10.0
system level enviroment varible file location
- /etc/environment
- /etc/profile
- /etc/bash.bashrc
/etc/profile and /etc/bash.bashrc not recommend to use fro the version prior to Ubuntu 10.0
open file:
$ sudo nano /etc/profile
append statement:
export PATH="$PATH:/my_new_path"
make it effective immedicately without login again
$source /etc/profile
- how to modify the enviroment varible in Ubuntu
- How to modify the Header Search Paths In XCode 4
- How to Modify the Virtual Memory in a Mac
- How to modify the xml in sql server
- how to modify show desktop shortcut in ubuntu
- NDISLWF how to modify the packet
- how to install the chrome in the Ubuntu platform
- how to modify DNS
- How to Change The Bootsplash In Ubuntu 8.10
- How to setup the 3D Feature in Ubuntu
- how to update the alsa 1.0.23 in ubuntu lucid
- How to restore the deleted panel in Ubuntu
- How to change the root password in Ubuntu
- How to change the system date in ubuntu
- How to Install the Gnome Classic Desktop in Ubuntu 14.04
- How to color the Git console in Ubuntu?
- How to Copy and Paste in the Ubuntu Gnome Terminal
- How to install the latest Eclipse in Ubuntu 14+
- 使网站首页变灰色,遮罩滤镜
- 五个人比身高 (java)
- 获取ipv4地址
- 浅析GestureDetector
- 验证virtual函数的原理
- how to modify the enviroment varible in Ubuntu
- DirectX 3D_基础之顶点着色器 顶点声明 顶点着色器的输入 顶点着色器的编写和编译 卡通着色 轮廓勾勒
- 解读数据
- 幸福像花儿一样开放 ◎ Android 内容很丰富
- CONST关键字笔记
- hdu1753(大数)
- 小记VMWare下给linux添加新硬盘(备忘)
- 解决Struts2乱码问题
- 问题九十三:完美数