执行 source ~/.bashrc 报错
Tofloor
poster avatar
dasheng523
deepin
2015-05-22 07:22
Author
今天刚装的系统,下载好JAVA之后,我就用VIM在~/.bashrc的文件后面追加了PATH相关的配置后,我退出VIM,执行 source ~/.bashrc 报错了。
  1. /home/yesheng/.bashrc:16: command not found: shopt
  2. /home/yesheng/.bashrc:24: command not found: shopt
  3. /home/yesheng/.bashrc:108: command not found: shopt
  4. /usr/share/bash-completion/bash_completion:35: parse error near `]]'
Copy the Code




Reply Favorite View the author
All Replies
MattD
deepin
2015-05-22 07:57
#1
回答过很多次了,shopt是bash内建命令,而深度默认采用zsh作为shell。
想更改shell就用chsh命令改一下。
Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG