摘要:
在bash shell中,source、exec以及sh都可以用来执行shell script,但是它们的差别在哪里呢?sh:父进程会fork一个子进程,shell script在子进程中执行source:在原进程中执行,不会fork子进程exec:在原进程中执行,但是同时会终止原进程注:使用exp... 阅读全文
posted @ 2014-10-26 17:13
学与思
阅读(368)
评论(0)
推荐(0)
2014年10月26日 #
2014年9月14日 #
2014年8月9日 #
2014年6月27日 #
2014年6月6日 #
2014年5月30日 #
2014年5月28日 #
2014年3月26日 #