该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
为什么改“/etc/profile”?严重不建议。
在“/etc/profile.d”里放置和删除文件/链接不好吗?
[root@TFW-EVL06-LT m]# ls -l /etc/profile.d
总计 132
-rw-r--r-- 1 root root 764 2008-12-10 colorls.csh
-rw-r--r-- 1 root root 713 2008-12-10 colorls.sh
……
……
……
-rwxr-xr-x 1 root root 80 2008-12-06 scim.sh
-rwxr-xr-x 1 root root 21 2008-12-06 svn-editor.sh
lrwxrwxrwx 1 root root 23 08-20 22:59 tfw0_myops.sh -> //myops/self_env_var.sh
lrwxrwxrwx 1 root root 27 08-20 22:59 tfw1_more_evn_var.sh -> /myops/conf/more _evn_var.sh
lrwxrwxrwx 1 root root 67 08-20 22:59 tfw2_apache_httpd.sh -> /ext/prog/c/Apac he/Httpd.EverestLinux-0.6-tb20090422/tfw/env_var.sh
lrwxrwxrwx 1 root root 37 08-20 22:59 tfw3_java.sh -> /ext/prog/m/Java/J2SDK/t fw_evn_var.sh
lrwxrwxrwx 1 root root 40 08-20 22:59 tfw4_apache_tomcat.sh -> /ext/prog/c/Apa che/Tomcat/tfw/env_var.sh
lrwxrwxrwx 1 root root 33 08-20 22:59 tfw5_eclipse.sh -> /ext/prog/m/Eclipse/t fw_rc_script
lrwxrwxrwx 1 root root 36 08-20 22:59 tfw6_tencent_qq.sh -> /ext/prog/m/Tencen tQQ/tfw_evn_var.sh
-rw-r--r-- 1 root root 74 03-16 09:39 vim.csh
-rw-r--r-- 1 root root 13 03-16 09:39 vim.sh
-rwxr-xr-x 1 root root 170 2008-12-06 which-2.sh
-rwxr-xr-x 1 root root 48 2008-12-11 xulrunner.sh
[root@TFW-EVL06-LT m]#