Ubuntu 10.04全局环境变量是在/etc/environment(装好后只有一句PATH),不过放到/etc/profile里面肯定可以
用户的话,官方推荐放到~/.profile里面----
2010/5/5 cheng chen <freakrobot(a)acm.org>:
哦,shell script么,看见环境变量了。谢谢~别的发行版也是这样的么?
2010/5/5 Liang Suilong <liangsuilong(a)gmail.com>
> 试试 /etc/profile 和 /etc/bashrc
>
> 2010/5/5 cheng chen <freakrobot(a)acm.org>
>
> > 我打开/etc/environment为什么是空的文件?Fedora最初的环境变量在哪里呢?
> >
> > --
--
※ 来源:·九原山区·[FROM:九原山区]