I installed zsh, but I realized I miss the basic/default terminal look. How can I get back to the default shell?


1 Answer 1


You can remove it completely with the following command.

sudo apt-get --purge remove zsh

If zsh was your default shell (see How to check which shell am I using? and What is default shell for terminal?), Do Not forget to change it to any other shell before purging, e.g. to bash like this with root access.

chsh -s /bin/bash YOUR_USERNAME

Or below with your login user.

chsh -s /bin/bash
  • 7
    FYI, I've had to logout/login for the chsh change to be visible
    – Arnaud P
    Oct 23, 2018 at 14:49
  • Would add a comment to arshin's answer but I cant: sudo apt-get --purge remove zsh zsh-* Do not forget about removing zsh-*! if you changed folders like /usr/share/zsh then reinstalling zsh without reinstalling zsh-commons will end up with a broken installation! Jan 21, 2019 at 22:11
  • @ArnaudP Thank you from my heart, I've wasted lots of time and I couldn't know what was I missing, I thought of restarting the PC but I totally ignored this out of laziness, thank you Sep 13, 2020 at 19:19
  • If you like me purge zsh without set other default shell, you need to copy content from .bashrc.save to .bashrc with some editor Dec 5, 2020 at 20:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .