What is the difference between bash and sh
- by Saif Bechan
In using i see 2 types of code
#!/usr/bin/sh
and
#!/user/bin/bash
I have Googled this and the opinions vary a lot. The explanation I have seen on most websites is that sh is older than bash, and that there is no real difference.
Does someone know the difference between these and can give a practical example when to use either one of them.
I highly doubt that there is no real difference, because then having to things that do the exact same thing would be just