Skip to main content
edited tags
Link
Kusalananda
  • 355.8k
  • 42
  • 735
  • 1.1k
Source Link
user274885
user274885

sudo su in bash error "Cannot execute help: No such file or directory"

I installed zsh and changed root shell /bin/bash to /usr/bin/zsh. Then I rebooted and typed sudo su. It said "Cannot execute help: No such file or directory". So, I typed sudo bash. However, when I typed "echo $SHELL", it said the root shell is 'help'. How can I fix this?