which shell is running

Find out which shell runs now, which one is your default, and change it.

  • shell

Steps

  1. ps -p $$

    the shell running this terminal

  2. echo "$SHELL"

    your login shell, the default

  3. cat /etc/shells

    the shells you can choose

  4. chsh -s /bin/zsh

    make zsh your default, from the next login

Commands used

  • ps
  • chsh

Each has a page in lore: lore ps opens it.