84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
如题,提示无法执行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: