I have a piece of software that requires /bin/sh
to be Bash, but for Ubuntu the default is Dash and I want to keep it the default; I don't want to change it to Bash permanently.
Is there a way to change it only for a running terminal session? So a program running in this terminal will see /bin/sh
linked to bash but the rest of the system will still see Dash? Or can I trick the software to see /bin/sh
as Bash even if its not?
I didn't write this software and hacking it to use /bin/bash
instead of /bin/sh
is not really an option.