Posts Linux change default shell
Post
Cancel

Linux change default shell

Changing my shell to zsh

  • Check if I have zsh installed
1
2
3
4
$ which zsh

/usr/bin/zsh

  • Verify current logged-in user
1
2
3
$ whoami

testing
  • Change shell for current logged-in user to zsh
1
2
3

$ sudo chsh -s $(which zsh) $(whoami)

This post is licensed under CC BY 4.0 by the author.