shell中调用另外的脚本文件的两种方法
来源:百度文库 编辑:神马文学网 时间:2024/04/26 16:07:29
shell中调用另外的脚本文件的两种方法
2008-12-04 17:22:55
标签:脚本shell脚本调用调用另一个脚本 [推送到技术圈]
原帖:
[url]http://forum.ubuntu.org.cn/viewtopic.php?f=88&t=1878[/url]
脚本 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
2008-12-04 17:22:55
标签:脚本shell脚本调用调用另一个脚本 [推送到技术圈]
原帖:
[url]http://forum.ubuntu.org.cn/viewtopic.php?f=88&t=1878[/url]
脚本 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
shell中调用另外的脚本文件的两种方法
delphi中调用另外的exe程序
linux 2.6的shell脚本中如何kill掉 sleep进程
使用脚本调用系统的关机对话框
使用脚本调用系统的关机对话框
VB中OLE调用的优化方法
DWR中各种java方法的调用
vc中调用Com组件的方法详解
vc中调用Com组件的方法详解
调用WebService的几种方法
Shell.Application执行命令的五种方法
C#程序调用非托管C++ DLL文件的方法 - Chase的技术博客 - 博客园
帝国调用图片集的方法
android中adb shell常用命令及查询数据库的方法 - ocean_helen的...
每行数值相加的shell脚本_Jack's Work and Life_zxdaicn的口...
另外的
asp事务处理的另外一个方法
电脑关机的另外三个方法
Shell脚本调试技术
C#后台调用前台javascript的五种方法
C#动态调用Web服务的3种方法
C#动态调用Web服务的3种方法
MSN SHELL去除弹出广告的方法,是指shell的广告
bash脚本中取文件路径(文件名)