Q
Q
QQ2016-03-02 18:31:48
bash
QQ, 2016-03-02 18:31:48

How is sh install.sh different from bash install.sh?

Hello.
Actually the question is, on github in different repositories, installation via sh or bash.
Interesting question, what is the difference?
What do the entries at the top of the bash file (#!/bin/bash, #!/usr/bin/env bash, etc.) say?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad Zhivotnev, 2016-03-02
@botaniQQQ

The fact that these are 2 different shells (interpreters) that are relatively compatible (there are a lot of things in bash that sh cannot do - the so-called "bashisms").

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question