If you want to run a script which contains exporting environment variable, you
might need "." to run it:
$ . your_script--which already copyed into the
$ . ./your_script
If you do not use . to run the script, you will find that when you run
$ echo $YOUR_ENV
you get nothing.
might need "." to run it:
$ . your_script--which already copyed into the
$ . ./your_script
If you do not use . to run the script, you will find that when you run
$ echo $YOUR_ENV
you get nothing.
906

被折叠的 条评论
为什么被折叠?



