What Shell Does Ubuntu Use?

What Shell Does Ubuntu Use?
Contents

dash: The Debian Alquist Shell is the default shell script in Ubuntu. While bash is the default login and interactive shell, dash is used to run system processes because it’s much lighter than bash .

Which shell am I using Ubuntu?

How to check which shell am I using:

  • ps -p $$ – Display your current shell name reliably.
  • echo “$SHELL” – Print the shell for the current user but not necessarily the shell that is running at the movement.

Does Ubuntu use bash or sh?

In Ubuntu 6.10, the default system shell, /bin/sh, was changed to dash (the Debian Almquist Shell); previously it had been bash (the GNU Bourne-Again Shell).

Maya Lin-Takahashi
Author

Maya Lin-Takahashi

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.