水木社区手机版
首页
|版面-Linux系统与应用(LinuxApp)|
新版wap站已上线
展开
|
楼主
|
同主题展开
|
溯源
|
返回
上一篇
|
下一篇
|
同主题上篇
主题:Re: /etc/profile.d 下面的脚本不管用,为何?
poocp
|
2021-10-10 06:01:41
|
看看/etc/profile呢
$ grep -A6 'profile.d' /etc/profile
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
--
FROM 171.221.52.*
上一篇
|
下一篇
|
同主题上篇
选择讨论区
首页
|
分区
|
热推
BYR-Team
©
2010.
KBS Dev-Team
©
2011
登录完整版