LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 845|回复: 3

export 来源于哪里,为什么我找不到它。

[复制链接]
发表于 2007-6-11 21:33:39 | 显示全部楼层 |阅读模式
[peter@petercorporation ~]$ export | grep proxy
declare -x http_proxy="http://192.168.0.1:808"

[peter@petercorporation ~]$ cat /etc/bashrc | grep 808
[peter@petercorporation ~]$ cat /etc/profile |grep 808
[peter@petercorporation ~]$ cat ~/.bashrc | grep 808  
[peter@petercorporation ~]$ cat ~/.bash_profile | grep 808

。。。。

告诉我,它的申明是来自哪里吧。。。
发表于 2007-6-11 21:50:55 | 显示全部楼层
你确定上面的 4 个脚本没有 source 别的脚本?
回复 支持 反对

使用道具 举报

发表于 2007-6-13 09:44:18 | 显示全部楼层
/etc/enviroment下呢?
回复 支持 反对

使用道具 举报

发表于 2007-6-15 16:19:21 | 显示全部楼层
export 是将局部变量变为环境变量
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表