# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
fi
if [ "$PS1" ]; then
if [ "$BASH" ]; then
PS1='\u@\h:\w\$ '
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
xiay 于 2009-09-27 17:56:12发表:
高手们给个答复……
xiay 于 2009-09-27 17:02:07发表:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
fi
if [ "$PS1" ]; then
if [ "$BASH" ]; then
PS1='\u@\h:\w\$ '
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
export PATH
umask 022
不对吗?
xiay 于 2009-09-27 16:36:58发表:
我把缺少的那几个东西都拷贝进去了。怎么设置环境变量呢?
xiay 于 2009-09-26 22:14:47发表:
怎么添加那些环境变量呢
xiay 于 2009-09-26 22:14:16发表:
2# 微宝贝
apt-get install
全部显示无法找到软件包
xiay 于 2009-09-26 22:12:59发表:
2# 微宝贝
恩 我先试试 :0)1
微宝贝 于 2009-09-26 13:21:07发表:
从提示来看是你的黄精变量出错了,,,,或者你的ldconfig start-stop-deamon update-rc.d这个几个程序被你删除了,,,,所以你先试试安装这个几个程序试试,或者添加提示的那些环境变量到PATH