difference between ways of script execution

  • ./ or sh/bash

    execute in a new child bash process, data deystroyed after exit this child process

  • source

      execute in current bash process

posted @ 2012-10-20 20:28  lymin  阅读(79)  评论(0)    收藏  举报