Today, Sally Gold, who oversees a program called Shell Springboard - part of the Shell oil company.
今天的嘉宾是,萨莉·高尔德。她是壳牌跳板项目的总监。
Listing 1 provides the basic shell of the program.
清单1提供了该程序的基本骨架程序。
Also, both scripts are careful to use the exec shell command, which replaces one program with another but does not create new processes.
而且,这两个脚本都要小心地使用exec外壳命令,这个命令用一个程序替代另一个程序,但是没有创建新进程。
Shell redirection can be handy in capturing standard program output, error messages from a program, or both to text files.
Shell重定向可以方便地将标准程序输出、程序错误消息或者这两者捕获到文本文件。
To run an application from either shell program, you need at least the following two files.
要从任一shell程序运行应用程序,您至少需要下列两个文件。
Stdin can also come from the standard output of another program, using the "|" (pipe) operator of the shell, as follows.
使用shell操作符“|”(pipe)也可以使标准输入来自另一个程序的标准输出,如下所示。
At the AIX shell prompt, it takes three commands to compile the programs, one command to generate an executable main program and run it.
在AIXshell提示中,它使用三个命令编译程序,一个命令生成一个可执行主程序并运行该程序。
For the simple examples, I'll show how to type them into an interactive Ruby shell program, called irb. 4.
对于这些简单的实例,我将介绍如何将它们写成交互的Rubyshell程序,称为irb。
The best solution is to not call the shell directly from inside a program.
最好的解决方案是不要从程序内部直接调用shell。
Each device family has a shell program — Extras on Crystal, and the Launcher on Quartz — that allows the user to run application programs.
每种设备系列都有一个shell程序—Crystal上的Extras和Quartz上的Launcher,它们允许用户运行应用程序。
Although you can run the camera application on the N800 without shell access, I found it immensely useful to load a terminal program on the N800.
尽管不需要shell访问也能在N800上运行摄像机应用程序,但是在N800上加载一个终端程序将非常有用。
Please note that this applies to the MongoDB shell program, some drivers may implement a delete function or otherwise.
请注意这适用于MongoDBshell程序,某些驱动程序可能使用delete函数或者没有。
Capturing program interaction using an interactive shell.
使用交互式shell捕获程序交互。
When we "export" an environment variable under bash, any subsequent program that we run can read our setting, whether it is a shell script or not.
当在bash中“导出”环境变量时,以后运行的任何程序,不管是不是shell脚本,都可以读取设置。
When the user is typing a command on the command line-that is, the shell he or she is using-the user only sees stdin, or standard in-that is, input that the user or a program provides.
当用户在命令行(即用户正在使用的shell)中键入命令时,用户只能看到stdin(即标准输入),这是用户或程序提供的输入。
Developers interact with MongoDB via the shell program, which permits command-line arguments, or by using a language driver to access datastore instances.
通过shell程序开发人员可与MongoDB进行交互,即允许命令行参数,或通过使用语言驱动程序来访问数据存储实例。
If the exploit is run while the program is running as root, then the attacker will get a root shell.
如果程序以root权限执行时执行了利用指令码,则攻击者将得到rootshell。
A common cracking technique is to find a buffer overflow in an suid root program, and then exploit the buffer overflow to snag an interactive shell.
常用的破坏技术是在suidroot程序中寻找缓冲区溢位,然后利用缓冲区溢位偷取交谈式shell。
Because of this, the program the user evoked when logging in has been rightfully called a shell, because it hides all the operating system's low-level calls.
由于上述原因,用户登录时调用的程序被恰当地称为shell,因为它隐藏了操作系统的所有底层调用。
You can download the different versions of the program as a tarball from Resources and view or run them in a separate shell, or view them in a separate browser window.
您可以从参考资料以tar压缩格式下载该程序的不同版本,并在单独的shell中查看或运行这些程序,或者在单独的浏览器窗口中查看。
For example, it includes a shell (the program that provides a command prompt and lets you run programs), a program to copy files, a program to delete files, and many other odds and ends.
例如,操作系统包含shell(shell程序提供命令提示符并且可以让你运行命令)、拷贝文件的程序、删除文件的程序还有其它这类东西。
It's not at all unusual to find that a single text line to a shell can do the same work as a hundred-line program.
您经常会发现在shell中一行简单的文本可以执行数百行程序才能实现的功能。
The bash shell contains two types of commands: builtins, which are internal, and external programs (or external filters and commands), which are typically self-contained binary program files.
bashshell包含两类命令:内部的内置命令和外部程序(或外部筛选器和命令,它们通常是自含的二进制程序文件)。
If you insist on calling the shell directly from a program, make sure that the environment is set up securely.
如果您坚持从程序中直接调用shell,那么就请确保环境的设置是安全的。
In this case, since the program really does have to run in a shell anyway, it even sort of makes sense to do it this way.
这种情况下,由于该程序实际上不必在shell中运行,所以这样做比较合理。
The -r sets the full path for the remote shell program to be used by GPFS.
r为gpfs使用的远程shell程序设置完整路径。
Listing 5 shows a sample program that demonstrates regular expressions in Squirrel Shell (the code was written by Mr. Makshin and is used with permission).
清单5展示的示例程序演示了SquirrelShell中的正则表达式(代码由Mr . Makshin编写并且得到使用许可)。
More than fifty restaurants, seafood dealers and other businesses have joined the Oyster Shell Recycling Alliance. Two states, Maryland and Virginia, are also taking part in the program.
五十多家餐馆,海鲜经销商和其他企业加入了牡蛎壳回收联盟。马里兰州和弗吉尼亚州两个州也参与该计划。
That's because shell_exec lets you run an external program via the shell, then returns the result as a string.
这是因为shell_exec允许您通过shell运行外部程序,然后以字符串的形式返回结果。
Shell viruses wrap themselves around a host program and don't modify the original program.Shell programs are easy to write,which is why about half of viruses are of this type.
外壳型病毒将它们自己包裹在主程序的四周,对源程序不作修改。 外壳型病毒容易编写,这也正是约有一半病毒程序是这种类型的原因。
应用推荐