source command

QQ图片20160805193639.png

http://superuser.com/questions/176783/what-is-the-difference-between-executing-a-bash-script-and-sourcing-a-bash-script/176788#176788

Source myscript : the file need not be executable but it must be a valid shell script. The file can be in current directory or in a directory in $PATH

你可能感兴趣的:(source command)