These files are actually bash scripts.
这些文件实际是bash脚本。
Within your bash scripts, you may want to run commands with the full path, depending on who will run the intended script.
在bash脚本中,可能希望用完整路径运行命令,这取决于谁将运行脚本。
Since I was familiar with this environment, most of the bash scripts that were needed got assigned to me as well. That was a nice little bonus.
因为我对这套环境非常熟悉,所以大部分bash脚本工作也都归我来管,这也算是对我工作的一种无偿的犒赏吧。
In this tip you will learn how to handle parameters and options in your bash scripts and how to use the shell's parameter expansions to check or modify parameters.
通过本文,您将了解到如何在bash脚本中处理参数和选项,以及如何使用shell的参数扩展检查或修改参数。
Because bash is already running, any additional bash scripts that you run are inherently memory-efficient because they share memory with any already-running bash processes.
因为bash已在运行,以后运行的任何bash脚本都天生是有效利用内存的,因为它们与任何已运行的bash进程共享内存。
Copying the Bash shell scripts into the proper directory.
将Bashshell脚本复制到正确的目录下。
The advantages of using Bash shell scripts for function testing are.
使用Bashshell脚本进行功能测试的优点在于。
This section describes how to run the Bash shell scripts for function testing.
本节描述如何运用Bashshell脚本进行功能测试。
I particularly like the various versions of the Bash debugger that were implemented completely as shell scripts.
我特别喜欢各种版本的Bash调试器,完全像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,就需要考虑下列情况。
The Bash shell provides plenty of programming constructs to develop scripts that have a range from very simple to medium complexity.
Bashshell提供了大量的编程构造用于开发从非常简单到中等复杂的脚本。
Creating Bash shell scripts for function testing.
创建Bashshell脚本进行功能测试。
The Bash shell scripts and the associated files need to be copied into the directory structure of the user id who is going to conduct the function testing.
Bashshell脚本和相关文件需要复制到要进行功能测试的用户标识的目录结构下。
You can create and modify the Bash shell scripts using text editors already provided by Linux, such as vi.
可以使用由Linux提供的文本编辑器如vi创建和修改Bashshell脚本。
Copy the Bash shell scripts and the associated files.
复制Bashshell脚本和相关文件。
Bash searches for six startup scripts, but each of those scripts is optional.
Bash将搜索六个启动脚本,但是所有这些脚本都是可选的。
Even if all six scripts exist and are readable, Bash executes only a subset of the six in any situation.
即使这六个脚本都存在并且可读,但是在任何情况下,Bash仅执行这六个脚本的一个子集。
But bash shell scripts can act like applications and even perform some of the tasks and jobs that applications can do.
但是,bashshell脚本的行为与应用程序相似,甚至能够执行应用程序可以完成的一些任务和工作。
If you already know how to develop Bourne or Korn shell scripts, then you already know enough to start working with Bash shell scripts.
如果已经知道了如何开发Bourne或Kornshell脚本,那对于如何运用Bash shell脚本已经足够了。
Recommendations when porting scripts from Korn to bash.
将脚本从Korn移植到Bash时的建议。
Another article in this series will show you how to make the script file executable, but for now we'll stick to running scripts by using the sh or the bash command.
本系列的另一篇文章将显示如何让脚本文件变成可执行文件,但是在本文中我们通过sh或bash命令运行脚本。
In this article, you will learn the basic techniques of bash scripting, its everyday USES, and methods for employing it to create near-bulletproof shell scripts.
在本文中,您将学习bash脚本编程的基本技术、日常使用方法以及用它创建可靠的shell脚本的方法。
Now that we've covered the most basic bash functionality, it's time to pick up the pace and get ready to write some real scripts.
我们已经学习了最基本的bash功能,现在要加快脚步,准备编写一些实际脚本。
To write effective bash shell scripts, you must master the basic bash command set for navigation and daily routine tasks performed within the shell.
要想编写有效的bashshell脚本,就必须掌握在shell中执行导航和日常任务的基本bash命令集。
Modern UNIX shells — bash, KSH, ZSH — offer many control structures and operations to create complex scripts.
现代UNIXShell——bash、ksh、zsh——提供了许多控制结构和操作以创建复杂的脚本。
This means that scripts that assume bash extensions may not work on other systems.
这就意味着使用bash扩展的脚本可能不能在其他系统上运行。
And because you have a full Bash shell at your disposal, you can use all the aforementioned compatibility features (among others) to write UNIX shell scripts to maintain Windows!
因为Cygwin提供完整的Bashshell,所以可以使用上述的所有兼容特性(和其他特性)编写UNIX shell脚本来维护Windows !
And because you have a full Bash shell at your disposal, you can use all the aforementioned compatibility features (among others) to write UNIX shell scripts to maintain Windows!
因为Cygwin提供完整的Bashshell,所以可以使用上述的所有兼容特性(和其他特性)编写UNIX shell脚本来维护Windows !
应用推荐