Difference between sh and bash
Asked 07 September, 2021
Viewed 2.5K times
  • 66
Votes

When writing shell programs, we often use /bin/sh and /bin/bash. I usually use bash, but I don't know what's the difference between them.

What's main difference between bash and sh?

What do we need to be aware of when programming in bash and sh?

12 Answer