Listing 9. Breaking lines in a shell script.
清单9.shell脚本中的换行。
You can use Zenity to open GTK + dialog boxes from any shell script.
您可以使用Zenity从任何shell脚本打开GTK +对话框。
The jvmstat distribution includes a shell script for invoking visualgc.
jvmstat 发行版包括一个用于调用 visualgc 的shell脚本。
Several administrative utilities are written in UNIX shell script and Perl.
有几个管理实用程序是用UNIXshell脚本和Perl编写的。
Compress the shell script inj Listing1 into a file called itm_agent_config.zip.
将shell脚本injListing1压缩到名为itm_agent_config . zip的文件中。
You should now have a shell script that looks similar to that shown in Listing 4.
您现在应该拥有一个看起来与列表4相似的脚本。
The shell script import.sh does the same on DB2 for Linux, UNIX, and Windows.
shell脚本import .sh则在DB 2forLinux,UNIX,andWindows做同样的事情。
The following usage message information is from the mkewuid Korn Shell script function
下面是 mkewuidKornShell脚本函数产生的用法信息
So, to keep it as close to the command line as possible, script it using shell script.
所以,为了尽可能接近命令行,可以使用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脚本得到的一样。
This functionality is somewhat similar to the shell script concept in functional Tester.
这个功能与Functional Tester中的shell脚本概念有些相似。
Keep in mind that a good utility might find its way into a shell script run as root.
务必记住,优秀的实用程序能够设法在shell脚本中作为根(root)用户身份运行。
To use a function within your bash shell script, you use the methods shown in Listing 26.
要想在bashshell脚本中使用函数,可以使用清单26 所示的方法。
The last script is the shell script, aggregating the three scripts to execute in sequence.
最后一个脚本是一个命令脚本,汇聚这三个脚本来依次执行。
Each recommendation is detailed below along with a Bash shell script for illustration.
下面详细讲述了每一条建议以及用于说明问题的脚本。
Now that we've learned all about chopping strings, let's write a simple little shell script.
现在我们已经学习了所有截断字符串的知识,下面写一个简单短小的shell脚本。
It is also easy to write a shell script that copies the files from staging to production.
写脚本把文件从交付准备服务器拷贝到生产环境,也很容易。
When a shell script process exits or returns to the parent process, the exit code should be 0.
当shell脚本进程退出或返回到父进程时,退出码应该是0。
When the shell encounters the dot command, it immediately executes the named shell script.
当Shell碰到点 (.)命令时,它将立刻执行指定的 Shell脚本。
The shell script will then have commands to invoke SQL files from it, as shown in Table 12.
这个shell脚本通过命令调用SQL文件,见下表。
The shell script is located in the installation directory, for example /usr/local/Zend/Core/sbin
此shell脚本位于安装目录中,例如 /usr/local/Zend/Core/sbin。
If you're writing a shell script, use pipes or the user's home directory for temporary files.
如果您正在编写shell脚本,那么可以使用管道,或者在用户的主目录存入临时文件。
I find that type gives me more precise information, which I sometimes need in a shell script.
我发现type为我提供了更准确的信息,我需要在某个shell脚本中使用到。
You can also follow feeds from Twitter and FriendFeed manually and by using a simple shell script.
您也可以从Twitter和FriendFeed手动地跟踪feed,或者使用一个简单的shell脚本跟踪feed。
Taking the simple knowledge you've gained thus far, you can make a simple yet useful shell script.
运用到目前为止学到的简单知识,您可以创建简单而有用的shell脚本。
Also notice that the comment place in the shell script was not displayed in the debug information.
还要注意,在调试信息中没有显示shell脚本中的注释。
The mkinitrd utility is actually a shell script, so you can see exactly how it achieves its result.
mkinitrd工具实际上就是一个shell脚本,因此我们可以看到它究竟是如何来实现这个结果的。
应用推荐