Remove Zsh from Ubuntu 16.04












2















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










share|improve this question

























  • How did you install zsh ? sudo apt-get purge zsh

    – Panther
    Sep 21 '17 at 16:51











  • someone recommended me this shell, but didn't like it. Thanks

    – Stefan
    Sep 21 '17 at 17:09











  • Yes, you need to configure it for sure. I use these 2 files bodhizazen.com/Tutorials/zshrc and bodhizazen.com/Tutorials/envrc (save them as ~/.zshrc and ~/.envrc )

    – Panther
    Sep 21 '17 at 17:11
















2















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










share|improve this question

























  • How did you install zsh ? sudo apt-get purge zsh

    – Panther
    Sep 21 '17 at 16:51











  • someone recommended me this shell, but didn't like it. Thanks

    – Stefan
    Sep 21 '17 at 17:09











  • Yes, you need to configure it for sure. I use these 2 files bodhizazen.com/Tutorials/zshrc and bodhizazen.com/Tutorials/envrc (save them as ~/.zshrc and ~/.envrc )

    – Panther
    Sep 21 '17 at 17:11














2












2








2








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










share|improve this question
















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







software-uninstall zsh






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 21 '17 at 19:19









Zanna

50.7k13135241




50.7k13135241










asked Sep 21 '17 at 16:47









Stefan Stefan

11112




11112













  • How did you install zsh ? sudo apt-get purge zsh

    – Panther
    Sep 21 '17 at 16:51











  • someone recommended me this shell, but didn't like it. Thanks

    – Stefan
    Sep 21 '17 at 17:09











  • Yes, you need to configure it for sure. I use these 2 files bodhizazen.com/Tutorials/zshrc and bodhizazen.com/Tutorials/envrc (save them as ~/.zshrc and ~/.envrc )

    – Panther
    Sep 21 '17 at 17:11



















  • How did you install zsh ? sudo apt-get purge zsh

    – Panther
    Sep 21 '17 at 16:51











  • someone recommended me this shell, but didn't like it. Thanks

    – Stefan
    Sep 21 '17 at 17:09











  • Yes, you need to configure it for sure. I use these 2 files bodhizazen.com/Tutorials/zshrc and bodhizazen.com/Tutorials/envrc (save them as ~/.zshrc and ~/.envrc )

    – Panther
    Sep 21 '17 at 17:11

















How did you install zsh ? sudo apt-get purge zsh

– Panther
Sep 21 '17 at 16:51





How did you install zsh ? sudo apt-get purge zsh

– Panther
Sep 21 '17 at 16:51













someone recommended me this shell, but didn't like it. Thanks

– Stefan
Sep 21 '17 at 17:09





someone recommended me this shell, but didn't like it. Thanks

– Stefan
Sep 21 '17 at 17:09













Yes, you need to configure it for sure. I use these 2 files bodhizazen.com/Tutorials/zshrc and bodhizazen.com/Tutorials/envrc (save them as ~/.zshrc and ~/.envrc )

– Panther
Sep 21 '17 at 17:11





Yes, you need to configure it for sure. I use these 2 files bodhizazen.com/Tutorials/zshrc and bodhizazen.com/Tutorials/envrc (save them as ~/.zshrc and ~/.envrc )

– Panther
Sep 21 '17 at 17:11










1 Answer
1






active

oldest

votes


















7














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





share|improve this answer


























  • FYI, I've had to logout/login for the chsh change to be visible

    – Arnaud P
    Oct 23 '18 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!

    – Lucas Alonso
    Jan 21 at 22:11











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f958120%2fremove-zsh-from-ubuntu-16-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









7














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





share|improve this answer


























  • FYI, I've had to logout/login for the chsh change to be visible

    – Arnaud P
    Oct 23 '18 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!

    – Lucas Alonso
    Jan 21 at 22:11
















7














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





share|improve this answer


























  • FYI, I've had to logout/login for the chsh change to be visible

    – Arnaud P
    Oct 23 '18 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!

    – Lucas Alonso
    Jan 21 at 22:11














7












7








7







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





share|improve this answer















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






share|improve this answer














share|improve this answer



share|improve this answer








edited Feb 4 '18 at 14:46

























answered Sep 21 '17 at 16:53









αғsнιηαғsнιη

24.4k2296157




24.4k2296157













  • FYI, I've had to logout/login for the chsh change to be visible

    – Arnaud P
    Oct 23 '18 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!

    – Lucas Alonso
    Jan 21 at 22:11



















  • FYI, I've had to logout/login for the chsh change to be visible

    – Arnaud P
    Oct 23 '18 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!

    – Lucas Alonso
    Jan 21 at 22:11

















FYI, I've had to logout/login for the chsh change to be visible

– Arnaud P
Oct 23 '18 at 14:49







FYI, I've had to logout/login for the chsh change to be visible

– Arnaud P
Oct 23 '18 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!

– Lucas Alonso
Jan 21 at 22:11





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!

– Lucas Alonso
Jan 21 at 22:11


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f958120%2fremove-zsh-from-ubuntu-16-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀