Command line versus shell script.
命令行与shell脚本。
Add dialog boxes to any shell script.
向任何shell脚本添加对话框。
Writing your first Korn shell script.
编写您的第一个Kornshell脚本。
A shell script might be more suitable here.
在这种情况下,外壳脚本可能更为适合。
Listing 9. Breaking lines in a shell script.
清单9.shell脚本中的换行。
Taking your shell script to the next level.
将shell脚本提升到下一级别。
Running the function-testing Bash shell script.
运行功能测试的Bashshell脚本。
Suppose you create a "Hello world" shell script.
假设您创建一个“Hello world”的shell脚本。
Listing 2 is a simple shell script that does this.
清单2是一个做这件事的小shell脚本。
Save this command to a shell script file on nim_lpar.
将这个命令保存到nim_lpar上的shell脚本。
Provide comments and instructions in each shell script.
在每个shell脚本中提供注释和说明。
Create a shell script to start the subsystem at system boot.
创建一个shell脚本以在系统引导时启动子系统。
The best mechanism for this purpose is to use a shell script.
生成 EWU 值的最佳机制是使用shell脚本。
And the third time, the shell script is interrupted with Ctrl-c.
第三次,使用Ctrl - c终止shell脚本。
The example in Listing 8 is from the beginning of a shell script.
清单8中的示例取自一个shell 脚本的开头。
You can use Zenity to open GTK + dialog boxes from any shell script.
您可以使用Zenity从任何shell脚本打开GTK +对话框。
Later, if you must rebuild the same code, simply run the shell script.
稍后,如果您必须重新编译相同的代码,只需要运行这个Shell脚本即可。
The jvmstat distribution includes a shell script for invoking visualgc.
jvmstat 发行版包括一个用于调用 visualgc 的shell脚本。
If the shell script USES the su command, a child shell will be spawned.
如果shell脚本使用了su命令,就会派生一个子shell。
The installer may fail to run because it's a nonportable shell script.
安装器可能会因为不是可移植的shell脚本而不能运行。
This functionality can fill a valuable gap in your shell script library.
这项功能可以颇具价值地填补shell脚本库中的空白。
Several administrative utilities are written in UNIX shell script and Perl.
有几个管理实用程序是用UNIXshell脚本和Perl编写的。
You can call cURL from an application driven by a batch file or shell script.
您可以从由批文件或shell脚本驱动的应用程序调用cURL。
Notice that the shell script makes use of a variable called ITM_TEMS_HOSTNAME.
注意,该shell脚本利用了一个名为itm_tems_hostname的变量。
You should now have a shell script that looks similar to that shown in Listing 4.
您现在应该拥有一个看起来与列表4相似的脚本。
Of course, a shell script would be somewhat worthless without command-line arguments.
当然,如果没有命令行参数的话,shell脚本的价值就没有那么大了。
Once this setup is done, the batch file or shell script is run to start the collection.
完成了此设置后,就可以运行批处理文件或外壳脚本来开始收集工作了。
Users can select and deselect files and click Submit to activate the rsync shell script.
用户可以选择和取消选择文件,并通过单击Submit激活rsyncshell脚本。
Of course, there are times when neither the command line nor a shell script is adequate.
当然,在很多情况下,仅依靠命令行和 Shell脚本是不够的。
As you can see in Figure 1, you get the same results as you would from the shell script.
在图1中可以看到,获得的结果与从shell脚本得到的一样。
应用推荐