bash变量作用域

  bash中即使declare -x或export的变量,子shell可以引用和改变,但是该改变无法作用到父shell中.

posted @ 2020-05-26 10:50  ascertain  阅读(143)  评论(0)    收藏  举报