Differences while invoking shell scripts.
调用shell脚本之间的区别。
Creating Bash shell scripts for function testing.
创建Bashshell脚本进行功能测试。
Copy the Bash shell scripts and the associated files.
复制Bashshell脚本和相关文件。
Windows shell scripts for raising and lowering Windows.
升高和降低窗口的Windowsshell脚本。
Copying the Bash shell scripts into the proper directory.
将Bashshell脚本复制到正确的目录下。
They can be shell scripts, Perl scripts, Python scripts, etc.
它们可以是shell脚本、perl脚本、python脚本等等。
It is primarily suited to shell scripts for automation purposes.
它主要适用于用于自动化用途的shell脚本。
Debug shell scripts: Automatically print the exit value on error.
调试shell脚本:在发生错误时自动输出退出值。
You should now be able to start Tomcat using the shell scripts provided.
现在,您应该能够使用所提供的shell脚本来启动Tomcat了。
The code examples provided in this article are in XML and shell scripts.
本文中提供的代码示例是XML和shell脚本。
Typically, shell scripts and UNIX programs return 0 on successful completion.
在通常情况下,shell脚本和UNIX程序在成功完成时返回零。
This section describes how to run the Bash shell scripts for function testing.
本节描述如何运用Bashshell脚本进行功能测试。
Introducing tput into shell scripts in UNIX can enhance the look and feel of scripts.
将tput引入UNIX中的shell脚本可以改善脚本的外观。
Listing 7 shows how to remove all permissions for other users on the two shell scripts.
清单7显示了如何删除两个shell脚本上的其他用户的所有权限。
Store the following shell scripts onto Machine2 and Machine3 in directory /opt/MQScripts.
将以下shell脚本存储在目录 /opt/MQScripts 中的Machine2和Machine3 上。
The integrity of the trusted shell scripts is checked before loading them into the memory.
在将可信shell脚本加载到内存中之前检查它们的完整性。
Zsh has a multi-line editing mode, which is great for short shell scripts, as in this example.
Zsh具有多行编辑模式,这特别适合于短小的shell脚本,如下例所示。
Lots of interesting projects have been implemented as shell scripts, or sets of shell scripts.
许多有趣的项目已经用shell脚本、或shell脚本套件实现。
Sysadmins will testify that trying to write shell scripts that run on both platforms is a pain.
系统管理员将会发现编写能够同时运行在两个平台的shell脚本是很痛苦的。
Some shell scripts run exactly the same commands, processing the same set of files time and again.
有些Shell脚本完全就是反复运行同样的命令,并处理同样的一组文件。
Our next task is to create the shell scripts, which will perform the necessary backup operations.
本文的下一个任务是创建shell脚本来执行必要的备份过程。
You can use the same technique with shell scripts and the getopts builtin command eases your task.
您可以对shell脚本使用同样的技术,getopts内置命令可以简化您的任务。
Moving the cursor or altering its attributes can be helpful in UNIX shell scripts or at the command line.
在UNIXshell脚本中或在命令行中,移动光标或更改光标属性可能是非常有用的。
You can create and modify the Bash shell scripts using text editors already provided by Linux, such as vi.
可以使用由Linux提供的文本编辑器如vi创建和修改Bashshell脚本。
Most system startup files are text files, as are shell scripts, configuration files and, of course, data files.
大多数系统启动文件都是文本文件,包括shell脚本、配置文件,当然还包括数据文件。
As the name implies, startup scripts are true shell scripts-those little programs you write to achieve some work.
顾名思义,启动脚本是真正的shell脚本,即为实现某些工作而编写的小程序。
If you have existing Korn shell scripts that you want to port to Bash, you need to take into account the following.
如果已有现成的Kornshell脚本,而想要将它们移植到Bash,就需要考虑下列情况。
Other shell scripts require arguments, or a dynamic list of things — files, directories, computer names — to process.
其他shell脚本需要参数,或要处理的对象——文件、目录、计算机名称——的动态列表。
But bash shell scripts can act like applications and even perform some of the tasks and jobs that applications can do.
但是,bashshell脚本的行为与应用程序相似,甚至能够执行应用程序可以完成的一些任务和工作。
In Part 6 of the Speaking UNIX series (see Resources), you'll learn how to write shell scripts and more command-line tricks.
在对话unix系列(请参见参考资料)的第6部分中,您将学习如何编写shell脚本和更多命令行诀窍。
应用推荐