在Mac上运行应用程序的命令脚本。
撰写并执行简单的命令脚本。
应该捕获图7中建议的命令并将其放在一个脚本文件中。
The suggested command in Figure 7 should be captured and put in a script file.
如果复制命令失败,脚本将退出。
这个脚本为每个步骤创建单独的SQL命令文件。
The script creates separate SQL command files for each step.
开始时先在命令行中尝试一个简单的php脚本。
Start out by trying a simple PHP script on the command line.
从命令行调用适当的启动脚本。
使用DB 2命令窗口来运行这些脚本。
循环在命令行中的工作效果与在脚本中同样出色。
A loop works on the command line as nicely as it does in a script.
下面显示了用于这两个脚本的命令行。
本节介绍从命令行运行脚本的两种方法。
This section examines two techniques for running a script from the command line.
要运行此脚本,使用类似下面清单11中的命令。
To run the script, you use a command similar to Listing 11 below.
应该在运行表创建脚本之前使用这个命令。
This command should be used before running the table creation script for the subsystem.
您还应该熟悉DB 2命令窗口和运行DB 2脚本。
You should also be familiar with the DB2 command window and running DB2 scripts.
当您从命令行运行这个脚本时,将看到如下内容。
When you run this script from the command line, you see something like this.
在每个脚本内,捕获每个行命令的返回码。
Inside each script, capture the return code of each line command.
以下是上述脚本的对应命令和输出。
以下是用于运行此脚本的命令及其输出。
将命令发送到脚本工具。
本文还说明了如何从命令行运行ant脚本的方法。
It also explains how to run the Ant script from the command line.
有些是简单的命令,其他则是复杂的shell脚本。
Some are simple commands, and others are complex shell scripts.
可以在命令行上像这样运行php脚本。
使用以下命令运行这个php脚本。
当在命令行运行此脚本时,能看到下列结果。
When I run this script on the command line, I see the following result.
手动或在脚本中运行runmqlsr命令时已启动。
Are started when the runmqlsr command is run manually or in a script.
在命令行中运行此脚本,然后查看输出的.swf文件,效果如图3所示。
When I run this script on the command line, then look at the output.swf file, I see the image shown in Figure 3.
另外,还要运行命令chmod 755Chom pQ . pl,使脚本可执行。
Also, make the script executable by running the command chmod 755 ChompQ.pl.
命令行与shell脚本。
如果shell脚本使用了su命令,就会派生一个子shell。
If the shell script USES the su command, a child shell will be spawned.
可以在命令行上运行这个脚本:php mailout _ test_add . php。
I can run this script on the command line: PHP mailout_test_add.php.
应用推荐