Listing 7. The output of the file command.
清单7.file命令的输出结果。
We'll use a password file command-line option in the script.
我们将在脚本中使用一个密码文件命令行选项。
Upload the test itself to all the instances using the Upload Local File command.
使用UploadLocalFile命令将测试本身上传到所有实例。
The rafw.bat file command line information can be divided into following four basic parts
bat文件命令行信息可以分为以下四个基本部分
Use the Dispense file command to distribute the test data file evenly between the instances.
使用DispenseFile命令在实例之间均匀地分配测试数据文件。
Note that other printing packages may use the magic number mechanism as used by the file command.
请注意其他打印包可能使用file命令所使用的magicnumber那样的机制。
This is where the file command comes in. file will examine a file and tell you what kind of file it is.
这就是file命令存在的原因了——file命令可以检查一个文件然后告诉你这个文件的类型是什么。
For example the work spool file command (WRKSPLF) USES file name, job, spool file number, creation system, and creation timestamp to identify spool files.
例如,WRKSPLF (workspoolfile)命令使用文件名、作业、spool文件编号、创建系统和创建时间戳来标识spool文件。
While the split command drops the newlines, the newlines are still attached to the strings in the array when using the file command (as with the fgets command).
虽然split命令将删除新行,但是当使用file命令(与fgets命令一样)时,新行仍将被附加到数组中的字符串上。
Command line file manipulations.
处理命令行文件。
A job is the representation of a task, such as an executable file, program, or command.
作业代表的是一个任务,例如一个可执行的文件、程序或命令。
If there is an error when the batch file runs, the command prompt displays the error message until you press a key.
在批文件运行时如果发生了什么错误,命令提示行会显示错误信息,直到您按下一个键为止。
You can easily redirect results to a text file from a command line or recast the automation to log results directly.
您可以很轻松地通过命令行将结果重定向到文本文件,或者重写自动化来直接记录结果。
Running it on a valid database file, like the penultimate command in Listing 4, gives a count of the records in the file.
在有效的数据库文件上运行它,类似清单4中的倒数第二个命令,则会提供文件中的记录数。
Now open this file with whichever command line editor you're most comfortable with.
现在用一款你用着最顺手的命令行编辑器打开此文件。
Next, to actually run the test, you simply run the test file from the command line with the test option.
接下来,仅需从命令行的测试选项运行测试文件,就能够实际运行测试。
The accompanying README file describes the command scripts and how to run them.
同时提供的 README文件描述了命令脚本以及如何运行它们。
Listing 3 demonstrates the first method for executing a script file directly from a command line.
清单3展示了直接从命令行执行脚本文件的第一种方法。
Be careful when reading a full file in one command (-0777), because a large file will use up all your memory.
在一个命令(- 0777)中读取整个文件时要小心,因为大型文件将耗尽所有内存。
A command definition file contains one or more command providers, each of which can have one of more command groups.
命令定义文件包含一个或多个命令提供程序,每个命令提供程序都可以拥有一个或多个命令组。
You can use wildcards with any command that accepts file name arguments.
你可以在所有使用文件名作为参数的命令中使用通配符。
Consult the documentation for the file copy command you want to use.
查阅想要使用的文件复制命令的文档。
This is in addition to stdout and any log file defined in the command line.
这是对标准输出和命令行定义的日志文件的补充。
Create a command definition file that describes the command metadata.
创建描述命令元数据的命令定义文件。
It is a file-based command that essentially serially stacks the files end to end.
这是一个基于文件的命令,它本质上是连续地、首尾相连地堆放文件。
The most straightforward way is to redirect output to a file for each command (see Listing 3).
最简单的方式是将每个命令的输出重定向到文件中(请参见清单 3)。
Note that if you cannot access the command or file because of permissions restrictions, command completion won't function for you.
注意,如果由于权限限制无法访问某个命令或文件,那么命令补全也无效。
Listing 8 shows the complete example of a command definition file that has both the admin command and task command.
清单8显示了命令定义文件的完整示例,它包含管理命令和任务命令。
You can change the name of the configuration file from the command line.
您可以从命令行更改配置文件名称。
When you run the program, be sure to pass the name of a PNG image file on the command line.
运行该程序时,请确保在命令行上输入了png图像文件的名称。
应用推荐