ChinaUnix.net
相关文章推荐:

linux etc profile

RT: 如果不想重启计算机,怎样才能使刚刚编辑过的/etc/profile生效???

by 逆天笑 - Linux论坛 - 2005-06-08 16:39:27 阅读(1992) 回复(5)

相关讨论

[root@red root]# ll -bash: ls: command not found [root@red root]# cd /etc/ [root@red etc]# ls -bash: ls: command not found [root@red etc]# vi /etc/profile -bash: vim: command not found [root@red etc]# shutdown -r now -bash: shutdown: command not found [root@red etc]# 现在什么也用不了了。提示我,用failsafe 试一下。该怎么做啊?帮忙啊。急。先谢了。

by 三国赵云 - 系统管理 - 2005-12-22 17:46:07 阅读(1044) 回复(5)

我把/etc/profile里的 PATH=$PATH:/usr/local/jdk 改成 PATH=/usr/local/jdk export PATH 然后重启机子,就进不去了 输入用户名和密码以后,就只有mouse能动,过十分钟,就又退出来让重新输入用户名和密码,唉,怎么解决呀? 我第一次用linux呀,是readhat 9

by qukmei - Linux论坛 - 2004-11-03 20:51:32 阅读(660) 回复(1)

/etc/profile文件里, trap "" 1 2 3 .... .... trap 1 2 3 是什么意思?

by tagche - AIX - 2004-02-09 12:26:46 阅读(1449) 回复(6)

先将export LANG=zh_CN加入/etc/profile ,退出系统重新登录,登录提示显示英文。 将/etc/profile 中的export LANG=zh_CN删除,将LNAG=zh_CN加入/etc/environment,退出系统重新登录,登录提示显示中文。 用户环境建立的过程中总是先执行/etc/profile然后在读取/etc/environment。为什么会有如上所叙的不同呢?

by 舒风星 - AIX - 2007-04-22 19:44:24 阅读(4487) 回复(5)

有什么区别的用处吗?

by wangchenfeng - AIX - 2007-03-31 17:53:04 阅读(1705) 回复(1)

#ident "@(#)profile 1.18 98/10/03 SMI" /* SVr4.0 1.3 */ # The profile that all logins get before using their own .profile. trap "" 2 3 export LOGNAME PATH if [ "$TERM" = "" ] then if /bin/i386 then TERM=sun-color else TERM=sun fi export TERM fi # Login and -su shells get /etc/profile services. # -rs...

by huanghaojie - Solaris - 2005-11-29 09:33:24 阅读(753) 回复(0)

tHIS is /etc/profile content for solaris9 X86 看看红色的是什么意思?谢谢 #ident "@(#)profile 1.19 01/03/13 SMI" /* SVr4.0 1.3 */ # The profile that all logins get before using their own .profile. trap "" 2 3 export LOGNAME PATH if [ "$TERM" = "" ] then if /bin/i386 then TERM=sun-color else TERM=sun fi export TERM fi # Login and -su shells get /etc/profile services. # -rsh is given i...

by billquick - Shell - 2004-12-05 20:44:09 阅读(1373) 回复(12)

[code]JAVA_HOME=/usr/local/jdk export JAVA_HOME CALASSPATH=/usr/local/jdk/lib:/usr/local/jdk/jre/lib export CLASSPATH PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin export PATH[/code] profile里面这样设置 但是echo $JAVA_HOME却提示没有定义。。。。 是不是我哪里定义错了。。。或者不是这个文件? 谢谢~

by 砖头 - BSD - 2010-07-24 21:49:49 阅读(2762) 回复(8)

/etc/profile 和 .profile 有什么区分,每个用户登陆时都要执行/etc/profile 么?

by huo - HP-UX - 2003-08-11 09:34:01 阅读(1834) 回复(8)

我用root 登陆 /etc/profile and /.profile 那个先起作用

by lwsin - Solaris - 2003-02-20 18:48:44 阅读(2844) 回复(5)