How to support "bash" on system

It seems that “bash” is not supported on the system (not found in /bin/bash)

Because many shell scripts (#!/bin/bash) are currently used, they cannot be executed directly
There will be an error as below:
e.g.
-sh: ./vbat.sh: not found

How can I make the system support bash?

I think it can run bash script, it just cannot find vbat.sh

Yes, it can work if I change the head of script from “#!/bin/bash” to “#!/bin/sh”
or use command “sh vbat.sh”

But I want to be able to execute the script directly “./vbat.sh”

You can see here

1 Like