|
- [No.542 10:47:01 ~ ]# cat ~/.profile
- # ~/.profile: executed by Bourne-compatible login shells.
- if [ "$BASH" ]; then
- if [ -f ~/.bashrc ]; then
- . ~/.bashrc
- fi
- fi
- export JAVA_HOME=/opt/jdk1.5.0_01/
- export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
- export PATH=$PATH:$JAVA_HOME/bin
复制代码
GDM并不使用了自己的登录验证
而不是在字符界面下时用的login
那应该如何初始化 ~/.profile呢? |
|