This article illustrates how to write a Linux command-line utility, similar to standard commands such as cat, ls, pr, mv, and so on.
本文演示如何编写与cat、ls、pr 和mv等标准命令类似的Linux命令行实用程序。
The Media Control Interface (MCI) provides standard commands for playing multimedia devices and recording multimedia resource files.
媒体控制接口(MCI)提供了播放多媒体设备以及录制多 媒体资源文件的标准命令集合。
For the USB modules, because the USB standard commands and USB state are processed nearly fully automatically with hardware, system development is simple.
因为对usb模块几乎完全靠硬件自动处理usb标准命令和usb状态,所以系统开发较为容易。
When running the commands, you send the output to a couple of log files, one for standard output and the other for standard error.
在运行这个命令时,您将输出发送到两个日志文件,一个用于标准输出,另一个用于标准错误。
Many text processing commands (filters) can take input either from the standard input stream or from a file.
许多文本处理命令(过滤器)可以从标准输入流或从文件中获取输入。
The limitation of completion in its standard form is that it is only able to complete files and paths (including commands) while you are entering them on the command line.
标准形式的完成功能的局限性在于,它只能在您从命令行上执行输入时完成文件和路径(包括命令)。
There are only a handful of commands, operators, and data types documented in the ANSI/ISO standard.
那只有记录在ANSI/ISO标准中的为数不多的指令、操作符和数据类型。
The code examples in this article are standard command-line scripts; basically commands that a system admin will use when manually performing the steps in the examples.
本文中的代码示例是标准的命令行脚本;基本上就是系统管理员在手工执行这些步骤时使用的命令。
Many commands can accept input from a facility called standard input.
很多命令是从一个叫做标准输入的设备中接收输入信息的。
Many commands in DB2 V8.2 have their own CLP syntax and corresponding APIs; however, there is not a standard way to call DB2 commands through the SQL API.
DB 2V8.2中的许多命令都有它们自己的clp语法和相应的API;然而,没有一种通过SQLAPI调用DB 2命令的标准方法。
I also introduce the memcached client commands (nine of them in all) and show you how to use them for standard and advanced memcached operations.
我还将介绍memcached客户机命令(总共有9个)并展示如何在标准和高级memcached操作中使用它们。
Now that you have the unpacked values from the binary buffer that you read, you can use the standard print commands to get the output necessary.
现在您已从读取的二进制缓冲区获得了拆包的值,那么您可以使用标准的print命令来获得必要的输出。
The xargs command reads standard input and then builds and executes commands with the input as parameters.
xargs命令读取标准的输入,然后使用参数作为输入构建和执行命令。
Request the contents of Modbus registers on the device under test through standard Modbus commands.
通过标准的Modbus命令请求测试设备上的Modbus寄存器的内容。
The Internet is an international collection of computer networks` that all understand a standard system of addresses and commands, connected together through backbone systems.
Internet是计算机网络的国际性的集合,这些网络都符合具有地址和命令的标准体系,并经骨干网连在一起。
Stdout is the standard output stream, which displays output from commands.
stdout是标准输出流,显示来自命令的输出。
Sed loads lines from the input into the pattern space, applies sed editing commands to the contents of the pattern space, and then writes the pattern space to standard output.
sed将输出中的行加载到模式空间(patternspace),对模式空间的内容应用sed编辑命令,然后将模式空间写入到标准输出中。
Again, because DTJCB is integrated with Eclipse, you can use the standard Eclipse build commands.
同样,因为dtjcb与eclipse集成在一起,所以您可以使用Eclipse标准的build命令。
For now, you can think of it as a way to run shell commands, as long as you remember that you'll only see standard output.
现在您可以将它看作运行shell命令的一种方法,但要记住您只能看到标准输出。
Stdin is the standard input stream, which provides input to commands.
stdin是标准输入流,为命令提供输入。
Using standard UNIX commands found in the GNU textutils package
使用GNU 文本实用程序包提供的标准UNIX命令
Assuming you have a standard release tarball named release.tar.gz, you can create a local Git repository by issuing the following commands.
假设我们已经有了一个名为release. tar . gz的标准release tarball,可以执行下面的命令来创建一个本地的Git仓库。
With RHEL5 networking, you also have the standard UNIX commands you should already be accustomed to, such as route, the netstat commands, and other utilities like ping and traceroute.
对于 RHEL5网络,您还可以使用应该已经习惯了的标准UNIX命令,例如route、netstat 命令,以及诸如ping和 traceroute 等其他实用工具。
The plugin, called SQL Validator, allows you to validate the SQL commands you issue against the ISO SQL standard.
这个称作sQLValidator的插件允许您对照isoSQL标准验证所发出的SQL命令。
You can change the number of lines that these commands send to their standard output with the -n option (of course, your results will vary depending on the contents of your XF86Config file)
您可以通过使用 -n选项改变这些命令发送至其标准输出的行数(当然,输出结果将随 XF86Config文件的内容而不同)
You might notice that you didn't call the standard Ruby rails in the above commands, but rather jruby -S rails.
您可能注意到了,在上面的命令中并不是调用标准Rubyrails,而是jruby-S rails。
Sed takes a script of any number of commands followed by an optional input filespec; by default, it reads standard input.
sed接受包含任何数量命令的脚本,后面跟着可选的指定输入文件的选项;缺省情况下,它读取标准输入。
Each of these commands spawns a child process to run the command or script you designate, and each captures the output of your command as it's written to standard output (stdout).
所有这些命令都衍生一个子进程,用于运行您指定的命令或脚本,并且每个子进程会在命令输出写到标准输出(stdout)时捕捉它们。
There are two standard UNIX commands that are often used to generate some textual output: cat and echo.
有两个常用来生成文本输出的标准UNIX命令:cat和echo。
To continue with the standard format of commands and their options in AIX, lsgroup follows the same structure as lsuser.
lsgroup采用AIX的标准命令和选项格式,采用与lsuser相同的结构。
应用推荐