linux系统默认为bash,相应的环境变量配置文件为.bashrc,如果你用的是.cshrc,则需要执行如下命令进行系统环境转换;
su root 获得root权限
usermod -s /bin/csh gcp 将bash转为csh;
同理:
usermod -s /bin/bash gcp 可以将用户从csh转为bash;
注:echo $SHELL 可以查看当前shell环境类型。
su root 获得root权限
usermod -s /bin/csh gcp 将bash转为csh;
同理:
usermod -s /bin/bash gcp 可以将用户从csh转为bash;
注:echo $SHELL 可以查看当前shell环境类型。
