/etc/skel/.bash_logout /etc/skel/.bash_profile /etc/skel/.bashrc
把这几个文件拷回去就可以了。
我还看了一下文件的内容: .bash_profile这个文件
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATHHOME/bin
export PATH
unset USERNAME
应该就是这些起作用了,自己新手,理解还是不了,慢慢来