gxf 于 2007-12-19 21:28:23发表:
先用whereis ifconfig看一下命令的具体路径(yourpath),为了方便把环境变量加到~/.bash_profile文件中去[code]$vi /~/.bash_profile 添加export PATH=$PATH:yourpath[/code][ 本帖最后由 gxf 于 2007-12-19 21:29 编辑 ]
mjbhhxx 于 2007-12-19 21:13:34发表:
怎样来设置呢? :0)1
deepwhite 于 2007-12-19 20:05:00发表:
修改~/bash_profile,设置路径。
gxf 于 2007-12-19 21:28:23发表:
先用whereis ifconfig看一下命令的具体路径(yourpath),为了方便把环境变量加到~/.bash_profile文件中去[code]$vi /~/.bash_profile
添加export PATH=$PATH:yourpath[/code]
[ 本帖最后由 gxf 于 2007-12-19 21:29 编辑 ]
mjbhhxx 于 2007-12-19 21:13:34发表:
怎样来设置呢?
:0)1
deepwhite 于 2007-12-19 20:05:00发表:
修改~/bash_profile,设置路径。