问题:
When writing shell programs, we often use /bin/sh
and /bin/bash
. 在编写shell程序时,我们经常使用/bin/sh
和/bin/bash
。 I usually use bash
, but I don't know what's the difference between them. 我通常使用bash
,但是我不知道它们之间有什么区别。
What's main difference between bash
and sh
? bash
和sh
之间的主要区别是什么?
What do we need to be aware of when programming in bash
and sh
? 在使用bash
和sh
编程时,我们需要注意什么?
解决方案:
参考一: https://stackoom.com/question/O1PU/sh和bash之间的区别参考二: https://oldbug.net/q/O1PU/Difference-between-sh-and-bash
来源:oschina
链接:https://my.oschina.net/u/4438370/blog/4492883