通过本文主要向大家介绍了java调用shell脚本,shell脚本调用sqlplus,python调用shell脚本,shell脚本调用脚本,shell脚本调用等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
脚本 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

