如题,提示无法执行zsh,没有那个文件或目录
再补充一下
user@my:/gitwork/snippet/nodejs$ echo $SHELL /bin/zsh
= = 就在我更新问题的时候,不知到操作了什么,莫名其妙就好了。、 其中涉及到操作
继续研究,搞清楚了原因再来更新问题,感谢大家的回答。
学习是最好的投资!
If you have sudo permissions, you can try changing the root shell in /etc/passwd. Or use chsh to change shell For details, please refer to: http://roclinux.cn/?p=739
chsh
sudo -s -H
sudo vim /etc/passwd Modify user login shellReference is as follows:
sudo vim /etc/passwd
codekissyoung:x:1000:1000::/home/codekissyoung:/usr/bin/zsh
If you have sudo permissions, you can try changing the root shell in /etc/passwd.
Or use
chsh
to change shellFor details, please refer to: http://roclinux.cn/?p=739
sudo -s -H
sudo vim /etc/passwd
Modify user login shellReference is as follows: