linux环境变量 bash_profile

来源:互联网 发布:牛仔男士衬衫 淘宝 编辑:程序博客网 时间:2024/06/05 19:26
linux环境变量 bash_profile[root@iZ23uewresmZ ~]# vi /root/.bash_profile
# .bash_profile# Get the aliases and functions  如果有~/.bashrc这个文件 就运行他if [ -f ~/.bashrc ]; then        . ~/.bashrcfi# User specific environment and startup programs 所有环境变量路径要用:冒号分开 不是分好 这个跟win不一样PATH=$PATH:$HOME/bin:/usr/local/mysql/bin:/usr/local/mysql/libexport PATH


查看原文:http://newmiracle.cn/?p=1553
0 0