bash和sh的区别

1.bash and sh are two different shells. Basically bash is sh, with more features and better syntax. Most commands work the same, but they are different.

2.Having said that, you should realize /bin/sh on most systems will be a symbolic link and will not invoke sh.

3.In Ubuntu /bin/sh used to link to bash, typical behavior on Linux distributions. but now has changed to linking to another shell called dash.

suggest:
	I would use bash, as that is pretty much the standard (or at least most common, from my experience).
	
可能遇到的问题:
	In fact, problems arise when a bash script will use #!/bin/sh because the script-maker assumes the link is to bash when it doesn't have to be.
	
上一篇:vue vue-router 实现原理


下一篇:1.单master双node集群搭建