Linux Which Shell Am I Using?
Contents

Which Shell does Ubuntu use?

GNU Bash is the shell used by default in terminals on Ubuntu.

However when scripts are executed on system boot then dash is used, as it is dash that is /bin/sh.

This is defined in the $SHELL environmental variable.

You can check by typing echo $SHELL in the terminal.

How do I switch from shell to bash?

You type in bash . If you want this to be a permanent change the default shell to /bin/bash by editing /etc/passwd .

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest