I see two types of code being used:
I searched for this online and opinions vary a lot. The explanations I saw on most websites say that
sh is older than
bash, and that there is no real difference.
Does someone know the difference between these? Can you give me a practical example when to use one over the other?