sh和bash之间的区别

2021-02-20 16:02发布

问题:

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 ? bashsh之间的主要区别是什么?

What do we need to be aware of when programming in bash and sh ? 在使用bashsh编程时,我们需要注意什么?


解决方案:

参考一: https://stackoom.com/question/O1PU/sh和bash之间的区别
参考二: https://oldbug.net/q/O1PU/Difference-between-sh-and-bash
标签: