清单10. chfn命令示例。
命令示例使用了KornShell。
所有命令示例均采用windows语法。
清单1给出了一组CVS命令示例和简短的相关描述。
Listing 1 shows a sample set of CVS commands along with short descriptions of each.
清单12. bash中的whatis命令示例。
清单1给出一个hg命令示例和通过ssh克隆存储库时产生的输出。
Listing 1 shows an example hg command and the resulting output produced when cloning a repository via SSH.
此示例类似于管理命令示例,不同的是在中定义命令,而在任务命令中使用定义步骤。
This example is similar to the admin command example, except that here, the command is defined within, and steps are defined within the task command with.
让我们研究一下每种可能的解决方案和一些可通过此方法来进行模拟的示例命令。
Let's look at each potential solution and some sample commands that can be emulated through this method.
图13显示了启动节点的命令的示例输出。
Figure 13 shows the sample output from the start node command.
清单7显示了如何通过添加新的步骤扩展任务命令的示例。
Listing 7 shows an example of how to extend a task command by adding a new step.
当然,通过替换脚本中的适当命令,可以从这些示例轻松构建其他脚本。
Of course, additional scripts can be easily built from these examples by substituting the appropriate commands.
清单11显示了任务命令扩展提供程序的示例。
Listing 11 shows an example of a task command extension provider.
清单1提供了一些示例命令。
清单10.通过直接调用jre来以静默方式安装产品的示例命令。
Listing 10. Sample commands for installing the product silently by calling the JRE directly.
在管理命令简介部分中可以看到此命令的示例调用。
You can see an example invocation of this command in the introduction of admin commands section.
本文提供了一小部分常用命令子集的代码示例。
This article showed code examples for a small, but common, subset of commands.
清单1显示了在日志文件中捕获的、完成此任务所需的一些命令的示例。
Listing 1 shows a sample of some of the commands captured in a log file that are necessary to complete this task.
清单6.使用响应文件,而不直接调用JRE的静默安装产品的示例命令。
Listing 6. Sample commands for installing the product silently using a response file and not calling the JRE directly.
清单6显示了用于记录应用程序使用信息的示例命令行。
Listing 6 shows an example command line for recording application usage information.
清单2中的命令作为示例提供。
下列代码清单是DSCLI命令的示例。
在代码示例中包括的是用于在一个或多个显示单元之间缩放和全景显示的方法,以及单元服务器可以执行的几个显示命令的示例。
Included in the code examples are the method used to scale and pan content across one or more cells of the display, and several examples of display commands that the cell servers can perform.
该示例命令将一条规则附加到input链的末尾,确定来自源地址205.168.0.1的信息包可以ACCEPT。
This example command appends a rule at the end of the INPUT chain that specifies packets coming from source address 205.168.0.1 to be ACCEPTed.
为了让本文中的示例保持一致,所有命令和输出示例都引用清单3所示的系统中的分区。
To provide a consistent set of examples for this article, all of the command and output examples refer to mounted partitions from the system shown in Listing 3.
清单9.通过使用响应文件,但不直接调用jre来以静默方式安装产品的示例命令。
Listing 9. Sample commands for installing the product silently by using a response file and not calling the JRE directly.
清单1显示了对pwd命令进行跟踪的示例。
更多的详细信息,请参考WebSphereApplicationServer信息中心,其中包括使用此命令的示例。
Refer to the WebSphere Application Server Information Center for more details, including examples for using this command.
以下部分显示WebSphere服务器的START示例命令。
The following section shows sample START commands for the WebSphere servers.
清单13提供这个命令的示例,使用来自chuser手册页的字段。
Listing 13 provides an example of this command using the fields from the chuser man page.
前面使用xwd命令的示例要求交互式地选择特定窗口。
The previous example of using the xwd command required that you select a specific window interactively.
应用推荐