Uses and functions of the bash shell
bash shell的用法和功能
Running the function-testing Bash shell script.
运行功能测试的Bash shell脚本。
Creating Bash shell scripts for function testing.
创建Bash shell脚本进行功能测试。
Copy the Bash shell scripts and the associated files.
复制Bash shell脚本和相关文件。
Fortunately, the Bash shell has a suspend key, Ctrl-z.
幸好Bash shell有一个暂停键ctrl - z。
Copying the Bash shell scripts into the proper directory.
将Bash shell脚本复制到正确的目录下。
The advantages of using Bash shell scripts for function testing are.
使用Bash shell脚本进行功能测试的优点在于。
The Bash shell is already installed and configured in your Linux system.
Bash shell脚本已经在Linux系统中安装和配置好了。
The Bash shell completes as much of the filename as it can, and then stops.
Bash shell将尽可能多的完成文件名,然后停止。
This section describes how to run the Bash shell scripts for function testing.
本节描述如何运用Bash shell脚本进行功能测试。
The bash shell USES the readline library to manage command editing and history.
bash shell使用readline历史来管理命令编辑和历史。
Each recommendation is detailed below along with a Bash shell script for illustration.
下面详细讲述了每一条建议以及用于说明问题的脚本。
Download bash and get the resources you need to start working with the bash shell now.
下载bash并获取使用bash shell所需的参考资料。
In such a case, the Bash shell suspends the process, so that it is no longer executing.
对于这种情况,Bash shell将暂停进程,从而使它停止执行。
According to the PPID fields in this list, the ps command is a child of the bash shell.
从该列表的PPID字段中,我们知道ps命令是bash shell的子进程。
In the Bash shell, for example, -u ensures that any unset variables are treated as an error.
例如,在Bash外壳中,- u可确保将任何未设置的变量作为错误处理。
Please note that this is done in the bash shell, the default in most Linux distributions.
请注意,这是在bash shell(大多数Linux发行版的默认值)内完成的。
To use a function within your bash shell script, you use the methods shown in Listing 26.
要想在bash shell脚本中使用函数,可以使用清单26 所示的方法。
GNU Bash shell: Find documentation and source for the GNU Bash shell on its project page.
GNUBash shell:在gnu Bash shell项目页面上找到它的文档和源码。
This community project provides a framework of extensions and convenience for the Bash shell.
这个社区项目提供了用来扩展和简化Bash shell的框架。
The Z shell is an enhanced version of the Korn shell with many features found in the bash shell.
Zshell是Korn shell的一个增强版本,具备bash shell的许多特色。
You can create and modify the Bash shell scripts using text editors already provided by Linux, such as vi.
可以使用由Linux提供的文本编辑器如vi创建和修改Bash shell脚本。
The bash shell lets you redirect standard input, standard output, and standard error on a Linux or UNIX system.
bash shell允许重定向Linux或UNIX系统上的标准输入、标准输出和标准错误。
The bash shell is a free version of the Bourne shell, the first Unix shell, and includes many additional features.
bash shell是Bourne shell的一个免费版本,它是最早的Unix shell,包括许多附加的特点。
But bash shell scripts can act like applications and even perform some of the tasks and jobs that applications can do.
但是,bash shell脚本的行为与应用程序相似,甚至能够执行应用程序可以完成的一些任务和工作。
You should avoid these keywords—or what are known as bash shell reserved words—when choosing names for shell variables.
在为shell变量选择名称时,应该避免使用这些关键词(也称为bash shell保留字)。
The output shows three running processes: an SSH login, which spawned a bash shell, which launched the ps command itself.
输出结果中显示了3个进程,分别是:一个ssh登录进程,它产生了一个bash Shell,而后者启动了ps命令。
Since I was forced to use the legacy OS while I was on the job, I installed a version of the bash shell that works on it.
而当我被安排去使用那个老系统的时候,我在工作的时候,安装了一个bash在这个系统上。
Listing 1 shows a bash shell script that you might code to try running the xclock command for a specified period of time.
您将编写清单1所示的bash shell脚本来按照指定的时间段运行xclock命令。
If the BASH shell is non-interactive, it expands the value of the BASH_ENV environment variable and executes the file named.
如果BASH Shell是非交互的,那么它将扩展BASH_ENV环境变量的值,并执行所指定的文件。
应用推荐