If your default shell is not Bash, and if the script does not work for you, then use the second form of calling shown below.
如果您的默认shell不是Bash,如果您的脚本无法运行,那么可以使用下文所示的第二种调用形式。
Remember to quote these if you are invoking GRUB with parameters from a bash shell, for example, when installing GRUB onto a floppy, USB key, or your MBR.
如果使用这些参数从一个bash shell调用GRUB,例如,在软盘、USB 密匙或您的MBR 上安装 GRUB 时,别忘了使用引号将参数引起来。
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环境变量的值,并执行所指定的文件。
If you have existing Korn shell scripts that you want to port to Bash, you need to take into account the following.
如果已有现成的Kornshell脚本,而想要将它们移植到Bash,就需要考虑下列情况。
If the script does not automatically send the output to a file, you can exploit some features of the Bash shell to capture the output of the execution of the script, such as.
如果脚本不能自动地将输出发送到文件的话,可以利用Bash shell的一些函数来捕获所执行脚本的输出,如。
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脚本已经足够了。
Even if you changed your default shell, bash is probably still running somewhere on your system, because it's the standard Linux shell and is used for a variety of purposes.
因为bash是标准Linuxshell,并用于各种目的,所以,即使更改了缺省shell, bash可能仍在系统中某处运行。
If you want to eliminate those, you can redirect the ij tool's standard output and standard error. For example, if you're working in the Bash shell, you can do this with.
如果想要消除这些消息,可以重定向ij工具的标准输出和标准错误。
If you want to eliminate those, you can redirect the ij tool's standard output and standard error. For example, if you're working in the Bash shell, you can do this with.
如果想要消除这些消息,可以重定向ij工具的标准输出和标准错误。
应用推荐