LinuxSir.cn,穿越时空的Linuxsir!

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

How to add PATH automatic in SuSE when X start?

[复制链接]
发表于 2004-3-9 09:37:48 | 显示全部楼层 |阅读模式
I try .bash_profile, but not succeed yet.
I can only export it in shell after loggin.
I am a newcomer of Linux, thanks a lot.
 楼主| 发表于 2004-3-9 10:00:27 | 显示全部楼层
oh, I know, in .bashrc.
but I still wonder which file the system path
/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin:/opt/gnome/bin

lays in? thanks
发表于 2004-3-9 12:24:22 | 显示全部楼层
/etc/profile
 楼主| 发表于 2004-3-9 22:25:29 | 显示全部楼层
I got it,thanks a lot;)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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