./ping0.sh

bash ping0.sh

都是在子shell中运行;

. ping0.sh

source ping0.sh

都是在当前shell中执行的。

 

posted on 2020-03-07 17:28  大话人生  阅读(107)  评论(0)    收藏  举报