Difference between sh and bash
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
?