ubuntu changing dash to bash

$ sudo update-alternatives --install /bin/sh sh /bin/bash 100
update-alternatives: using /bin/bash to provide /bin/sh (sh) in auto mode.

$ sudo update-alternatives --install /bin/sh sh /bin/dash 200
update-alternatives: using /bin/dash to provide /bin/sh (sh) in auto mode.

$ sudo update-alternatives --config sh
There are 2 choices for the alternative sh (providing /bin/sh).

Selection Path Priority Status
------------------------------------------------------------
* 0 /bin/dash 2 auto mode
1 /bin/bash 1 manual mode
2 /bin/dash 2 manual mode

Press enter to keep the current choice[*], or type selection number: 1
update-alternatives: using /bin/bash to provide /bin/sh (sh) in manual mode.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s