[Work Notes] Ubuntu Dash vs Bash

To speed up the boot process, Ubuntu uses dash as the default shell instead of the traditional bash. You can verify this at /bin/sh → /bin/dash.

If you want to switch back to the original bash, type the following at the prompt:

sudo dpkg-reconfigure dash

When the configuration window appears, select “No” to revert back to bash.

Recommendation: If you’re doing software development on Ubuntu and write shell scripts, it’s safer to switch back to bash for compatibility.


Comments & Feedback