harttle.github.io icon indicating copy to clipboard operation
harttle.github.io copied to clipboard

2017/04/03/shell-variable-scope

Open utterances-bot opened this issue 7 years ago • 1 comments

Shell 中的变量作用域 | Harttle Land

TL;DR Shell 中的变量只作用于当前进程。如需在子进程中创建副本可使用 export 内建命令。 有时使用临时变量语法可以非常方便。

https://harttle.land/2017/04/03/shell-variable-scope.html

utterances-bot avatar May 22 '18 02:05 utterances-bot

mark下,表示我看过了(会不会吵到...)

ghost avatar May 22 '18 02:05 ghost