Hi,all,
anyone konw the difference between source script.sh and ./script.sh?
thx very much!
a question about sourcing a script
-
- 帖子: 2
- 注册时间: 2012-08-02 20:24
- 枫叶饭团
- 帖子: 14683
- 注册时间: 2010-06-16 1:05
- 系统: Mac OS X
- 来自: Tencent
- 联系:
Re: a question about sourcing a script
一个是用子shell运行,一个是当前shell运行。
-
- 帖子: 2
- 注册时间: 2012-08-02 20:24
Re: a question about sourcing a script
大概明白了,谢谢!枫叶饭团 写了:一个是用子shell运行,一个是当前shell运行。