使用mobaxterm登录远程服务器,普通用户身份。
在安装pymatgen时,在命令行输入了: conda create -n my_pymatgen python
由于窗口一直不更新,我推出了moba软件,再打开软件的时候
命令行就这样了,还有一段报错
/usr/bin/xauth: error in locking authority file /home/zouyuxin_32046029_cx_155/.Xauthority
mkdir: cannot create directory '/home/zouyuxin_32046029_cx_155/.local/share': File exists
-bash: /home/zouyuxin_32046029_cx_155/.bash_profile: Input/output error
-bash-4.2$
做了两种尝试:
-bash-4.2$ cp /etc/skel/.bashrc/root
cp: missing destination file operand after ‘/etc/skel/.bashrc/root’
-bash-4.2$ cp /etc/skel/.bashrc /home/zouyuxin_32046029_cx_155
cp: failed to access ‘/home/zouyuxin_32046029_cx_155’: Input/output error
-bash-4.2$ vi ~/./bash_profile
-bash-4.2$ vi ~/./bash_profile 提示无权限
求如何退出这种错误状态。
PS1='[\u@\h \W]$ '
这个代码加入.bashrc后,
source .bashrc