How to write a command line program which can be accessed by a separate frontend?
如何写一个命令行程序,可以通过一个单独的前端访问?
There is a nice and simple command line program called uname that will tell us exactly that.
Linux有个很简单的命令uname,它可以告诉我们答案。
This is a small command line program to count the number of updated rows seen in all TransactionMsg(s) and RowOperationMsg(s).
这是一个较小的命令行程序,用于计算所有TransactionMsg和 RowOperationMsg中看到的更新行数。
The program operates with an embedded database and is run from a command line.
该程序和一个内嵌式数据库一起操作,且从命令行中运行。
This message is a structure containing several fields, but appears to the triggered program to be a single command line parameter.
这条消息是一个包含几个字段的结构,但对于已触发程序,它看起来是单个命令行参数。
Trace is turned on by specifying any command line parameter to the program when it is invoked.
在调用这个程序时指定任意命令行参数将开启跟踪功能。
When executed from a command line, the program reads the XML content from a file into a string variable.
在命令行中执行的时候,该程序将XML内容从文件读入一个字符串变量。
You can pass command line arguments to a program, thereby allowing multiple variations of the query to be run with a single program.
您可以将多个命令行参量传到程序中,这样可以运行一个程序可以进行多种类型的查询。
To run a program from the command line, simply go to your nearest command-line prompt.
要从命令行运行一个程序,只需使用最方便的命令行提示符。
In that way, you could have sensible defaults in a program, but override them with command-line options if you wanted.
这样,在程序中可以有有意义的默认值,但是如果需要,也可以用命令行选项覆盖它们。
Begin with a simple program that reads in a filename from the command-line.
首先从一个简单的程序开始,该程序从命令行读入一个文件名。
Over time, this script has saved me dozens of hours that I would have spent manually twiddling with an FTP GUI, or constantly changing directories via an annoying command-line FTP program.
随着时间的推移,这个脚本已经为我节省了数十个小时,我不再需要手工使用FTPGUI,也不需要通过一个恼人的FTP命令行程序频繁的变换目录。
ESP or the top of the stack stores the number of command line arguments supplied to a program, which is 1 by default (for no command line arguments).
ESP(堆栈顶部)存储传递给程序的命令行参数数量,默认值是1(表示没有命令行参数)。
The sample application is a simple command-line program for generating lottery Numbers.
样例应用程序是用于生成彩票号码的简单命令行程序。
It's fairly common to invoke a program with input parameters but no command-line options.
带输入参数但是不带命令行选项来调用某个程序是非常普遍的。
If an attacker can get a leading dash or slash into something that will be passed down to a command-line program, it might get misinterpreted as an option.
如果攻击者可以添加或修改某些以短横线或斜线开头的内容,并将其传递给命令行程序,那么这些内容就可能会被错误地当作选项进行处理。
The code will need to handle populating that variable with the document supplied to the program through the command line.
代码需要使用由命令行传递给程序的文档来填充该变量。
With that in mind, it would be nice to be able to create arbitrary alarm events from a command-line program, which would execute programs or display messages.
考虑到这一点,从命令行程序创建任意警报事件会更好,这些事件将执行程序或显示消息。
Note that the name of the program is just argument number 0 in the command line values — don't trust the program name, since an attacker can change it.
注意,程序的名字只是命令行值的第0个参数——不要相信程序名,因为攻击者会改变它。
The program being debugged can then be started with command-line options to connect to the debugger.
可以从命令行选项打开被调试的程序,并将其连接到调试器。
Next, run the program from the command line.
接下来,从命令行运行此程序。
In this section, we will develop a command line application program that USES the XMLToSQL API to update the VIDEOS database.
在这一部分中,我们将开发一个使用XMLToSQLAPI进行VIDEOS数据库更新的命令行应用程序。
The perl -n command runs the program once on every line of the input file.
perl -n命令针对输入文件的每一行运行一次程序。
You can do this manually from the command line or graphically using the Red Hat setup program.
您可以由命令行手工关闭,或通过图形化的RedHat setup程序来做这件事。
This program accepts a number of command line options and a set of.nodes files to publish.
该程序使用许多命令行选项和一组.nodes文件进行发布。
The -e option lets you specify a Perl expression (a program, actually) on the command line.
e选项允许您在命令行中指定一个Perl表达式(实际上是一个程序)。
We want the command line for the program to be lookup , so we make sure that we have the desired number of command line arguments
我们需要用于该程序的命令行,以便查找 ,因此,要确保包含所期望的大量命令行参数
Listing 8 shows the output of running the program with a command line of one two three four.
清单8显示了用命令行one two three four运行程序之后的输出。
You can run the program from the command line with an XML filename as a command-line argument.
可以在命令行中运行该程序,输入以下XML文件名作为命令行参数。
Index 0 of argv is the program name that was invoked from the command line.
argv的索引0是从命令行调用的程序名。
应用推荐