1.souce:在当前bash环境下读取并执行FileName中的命令。
可以在shell启动前加载环境变量
weidiandeMacBook-Pro:myshworkspace weidian$ pwd
/Users/weidian/myshworkspace
weidiandeMacBook-Pro:myshworkspace weidian$ ls
weidiandeMacBook-Pro:myshworkspace weidian$ echo $A
weidiandeMacBook-Pro:myshworkspace weidian$ echo 'A=1' > myconf.conf
weidiandeMacBook-Pro:myshworkspace weidian$ ls
myconf.conf
weidiandeMacBook-Pro:myshworkspace weidian$ cat myconf.conf
A=1
weidiandeMacBook-Pro:myshworkspace weidian$ source ./myconf.conf
weidiandeMacBook-Pro:myshworkspace weidian$ echo $A
1