bash是borne again shell的縮寫,它是shell的一種,Linux上預設采用的是bash。 shell腳本中的方法帶不帶function的差別,例如: 功能完全一樣, 差別是第二種相容性更好。