exit from zsh shell code example Example: convert back to sh from zsh chsh -s /bin/bash exec bash --login