欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Shell中調用、引用、包含另一個腳本文件的三種方法

 更新時間:2014年04月01日 17:36:46   作者:  
這篇文章主要介紹了Shell中調用、引用、包含另一個腳本文件的三種方法,需要的朋友可以參考下

腳本 first (測試示例1)
first
#!/bin/bash
echo 'your are in first file'

方法一:使用source

#!/bin/bash
echo 'your are in second file'
source first

方法二:使用.

#!/bin/bash
echo 'your are in second file'
. first

方法三:使用sh
#!/bin/bash
echo 'your are in second file'
sh  first

相關文章

最新評論