intro-linux chapter 2

来源:互联网 发布:数据分析经典案例 编辑:程序博客网 时间:2024/06/05 19:15

1. execute the script with current shell progress

$source example.sh

     or

$. example.sh

 

2. execute the script with debug option

$ bash -x example.sh

    or

$set -x

$./example.sh

$set +x

 

原创粉丝点击