Ubuntu modified the default sh to bash

The current Ubuntu version uses dash by default for sh, which is really awkward to use, so I looked for it and found that it can be changed to the original bash through settings.

First check the system's /bin/sh

$ ls -al /bin/sh
/bin/sh -> dash

Switch sh to bash

$ sudo dpkg-reconfigure dash

Check the result after switching

$ ls -al /bin/sh
/bin/sh -> bash

Recommended Posts

Ubuntu modified the default sh to bash
Wsl sets the default account to root (ubuntu18.04)
Modify the software default source to Tencent source
How to modify the hostname on Ubuntu 20.04
Solution for Ubuntu unable to connect to the network
Explain the solution to the Ubuntu 16.04 launcher icon exception
Use the command to solve the Ubuntu projector problem:
The solution to the failure to install .deb under Ubuntu 16.04
How to open the ubuntu system in win10
The road to reinstallation of ubuntu 18.04 from scratch
Publish the node.js project under Ubuntu to heroku
The ultimate guide to install gooderp on ubuntu
Introduction to the use of Hanlp in ubuntu
How to run the parsing server on Ubuntu 14.04
How to check the installed JDK on Ubuntu
How to install the latest MySQL on Ubuntu 18.04
The default installation path of apt-get install of ubuntu (transfer)
Solution to the virtual machine ubuntu16.04 cannot connect to the Internet
Use the command line to detect the Ubuntu version method
How to add the gzip module to Nginx on Ubuntu 14.04
How to turn the language of Ubuntu into Chinese? ?
Modify the default root password of the Ubuntu operating system
Solutions to the black screen when installing ubuntu (3 types)
Solution to the slow speed of ubuntu18.04 wireless network
How to upgrade to Ubuntu 20.04
Remote connection to Ubuntu 19.1
How to upgrade to Ubuntu 20.04
How to control the ubuntu system in win10 through ssh
Mac uses vnc to remotely log in to the ubuntu16.04 desktop
How to set or modify the time zone on Ubuntu 20.04
Xshell and Xftp fail to connect to the virtual machine Ubuntu
Ubuntu adds the Chrome icon to the correct posture of the launcher
Find the kernel source code corresponding to the running Ubuntu version
Detailed steps to automatically set the line number in ubuntu16.04
How to set or modify the time zone on Ubuntu 20.04
Explain the solution to the freeze when ubuntu dual system starts
ubuntu 12.04 configure the kernel crash to automatically restart and dump