shell脚本函数

不调用就不执行

调用就执行

 调用时候的$1是指执行时候的参数1

调用之后的$是位置参数

 

 

原文地址:https://www.cnblogs.com/djlsunshine/p/9709879.html