分页: 1 / 1

a question about sourcing a script

发表于 : 2012-11-27 16:32
塔尖的蜗牛
Hi,all,
anyone konw the difference between source script.sh and ./script.sh?
thx very much!

Re: a question about sourcing a script

发表于 : 2012-11-27 17:25
枫叶饭团
一个是用子shell运行,一个是当前shell运行。

Re: a question about sourcing a script

发表于 : 2012-11-28 11:22
塔尖的蜗牛
枫叶饭团 写了:一个是用子shell运行,一个是当前shell运行。
大概明白了,谢谢!