摘要:
脚本 first.sh代码:#!/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 阅读全文