這篇文章主要介紹了shell中source、sh、bash、./執行腳本的區別,需要的朋友可以參考下 1、source命令用法: source FileName 作用:在當前bash環境下讀取並執行File