• An example is shown below, from the sample Bash script "test-bucket-1".

    下面一个bash脚本test - bucket - 1示例

    youdao

  • How can the arguments to bash script be copied for separate processing?

    如何Bash脚本单独处理复制论点

    youdao

  • Where server is a bash script and server.rb is the ruby socket server script.

    其中server一个bash脚本server . rbrubysocket服务器脚本。

    youdao

  • Listing 9 shows a bash script alert that will be invoked by mon when a real server connection is lost.

    清单9展示了一个bash脚本警报realserver连接丢失mon调用。

    youdao

  • Listing 8 shows a bash script alert that will be invoked by mon when a real server connection is re-established.

    清单8展示了一个bash脚本警报重新建立realserver连接mon调用

    youdao

  • Basically, the bash script just contains the listing of all the commands that were typed at the command line.

    基本上bash脚本包含命令输入所有命令列表

    youdao

  • Within your bash scripts, you may want to run commands with the full path, depending on who will run the intended script.

    bash脚本中,可能希望完整路径运行命令,这取决于运行脚本

    youdao

  • Listing 13 shows the whoami command run on its own; Listing 14 shows an excerpt from a Bash script using whoami to make sure the current user isn't root.

    清单13显示了独自运行whoami命令;清单14显示了使用whoami确保当前用户不是根用户bash脚本摘录

    youdao

  • Each recommendation is detailed below along with a Bash shell script for illustration.

    下面详细讲述了每一条建议以及用于说明问题脚本

    youdao

  • 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,如果脚本无法运行那么可以使用下文所示第二调用形式

    youdao

  • What you can correlate from the PHP version of the script and Bash version is that this procedural code does in fact run like a set of instructions.

    能够脚本PHP版本Bash版本中找到的相关性在于,过程序代码事实上指令一样运行

    youdao

  • Given such a setup, you can construct a simple BASH shell script (see Listing 8) to check for DWG and DXF files in this location and trigger the converter with the appropriate command-line arguments.

    有了这样设置可以构造一个简单BASHshell脚本(参见清单8)检查位置DWGDXF文件并且通过适当命令行参数触发这个转换器

    youdao

  • Running the function-testing Bash shell script.

    运行功能测试Bashshell脚本。

    youdao

  • It also sets some default values for the script, and then parses the command-line arguments using the standard Bash shell's getopt function. (Listing 7 shows the output of this usage message.)

    为此脚本设置了某些默认然后使用标准Bashshellgetopt函数解析这些命令行参数(清单7给出这个使用消息的输出)。

    youdao

  • 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.

    如果脚本不能自动地输出发送文件的话,可以利用Bashshell一些函数捕获执行脚本的输出,如。

    youdao

  • For instance, the installNFS script, written in bash, calls text2osd to display messages.

    例如installnfs脚本,是使用bash编写的,它调用text2osd显示消息。

    youdao

  • 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.

    系列另一文章显示如何脚本文件变成可执行文件,但是本文中我们通过shbash命令运行脚本

    youdao

  • When we "export" an environment variable under bash, any subsequent program that we run can read our setting, whether it is a shell script or not.

    bash中“导出环境变量时,以后运行任何程序不管是不是shell脚本都可以读取设置

    youdao

  • Inside a function or script, you can refer to the parameters using the bash special variables in Table 1.

    函数脚本中可以使用表1列出bash特殊变量引用参数

    youdao

  • After this script has finished, you should see something similar to Figure 3 in your command prompt or bash. (View a text version of the sample output in Figure 3.)

    脚本运行完毕之后命令提示bash看到类似3内容(查看文本表示的图3输出)。

    youdao

  • To use a function within your bash shell script, you use the methods shown in Listing 26.

    要想bashshell脚本使用函数可以使用清单26方法

    youdao

  • Listing 1 shows a bash shell script that you might code to try running the xclock command for a specified period of time.

    将编写清单1所示bashshell脚本来按照指定时间段运行xclock命令

    youdao

  • Listing 1 shows a bash shell script that you might code to try running the xclock command for a specified period of time.

    将编写清单1所示bashshell脚本来按照指定时间段运行xclock命令

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定