摘要:
在bash shell中,source、exec以及sh都可以用來執行shell script,但是它們的差別在哪里呢?sh:父進程會fork一個子進程,shell script在子進程中執行source:在原進程中執行,不會fork子進程exec:在原進程中執行,但是同時會終止原進程注:使用exp... 閱讀全文
posted @ 2014-10-26 17:13
學與思
閱讀(368)
評論(0)
推薦(0)
浙公網安備 33010602011771號