关于anaconda踩过的坑
- conda突然罢工 添加环境变量
vim ~./bashrc
export PATH=/home/XXX/anaconda3/bin:$PATH
source ~./bashrc
- 解决每次打开Xshell终端,都要source ~/.bashrc
Linux启动之后,会依次加载文件 .bash_profile、~/.bash_login、 ~/.profile
vim ~/.bash_profile
# 加载.bashrc文件
if test -f .bashrc ;
then source .bashrc
fi
- 关于vim的一些操作
i 进入编辑模式 Esc +
:wq 表示保存并推出