Think of shell variables as Settings.
可以将Shell变量看作相应的设置。
To see a list of all shell variables, type set.
要查看所有Shell变量的列表,可以输入set。
Tcsh comes with several built-in shell variables.
tcsh提供几个内置的shell变量。
Tcsh provides a gamut of shell variables and aliases, in addition to supporting those that csh supplies.
除了支持csh 提供的shell变量之外,tcsh 还提供了大量 shell 变量和别名。
Some environment variables — called shell variables — are used only by your shell to control its behavior.
有些环境变量称为Shell变量,Shell仅使用这些变量控制其自身的行为。
Note also that the crontab can include shell variables assignments that will be set before the commands are run.
还要注意,crontab可以包含shell变量赋值,这些赋值会在运行命令之前执行。
These can be used to include client information, if available, in your messages. Common shell variables are.
这些可以用来包含客户端信息,如果在您的消息中可以的话。
You should avoid these keywords—or what are known as bash shell reserved words—when choosing names for shell variables.
在为shell变量选择名称时,应该避免使用这些关键词(也称为bash shell保留字)。
In the Bash shell, for example, -u ensures that any unset variables are treated as an error.
例如,在Bash外壳中,- u可确保将任何未设置的变量作为错误处理。
As with any other global variable, these variables need to be set in the shell instance where the JVM process will run, so that Settings can be read by JVM into its global variables table.
与其他任何全局变量一样,需要在shell实例中设置这些变量,JVM进程将会在这个实例中运行,因此,可以通过JVM将这些设置读取到全局变量表中。
Another extremely helpful use for comments in shell scripts is to explain what variables may be as well as explaining return codes.
在shell脚本中,注释的另一个极其有帮助的用途是,解释变量的有效值以及解释返回码的含义。
To see which environment variables are set in your shell, type printenv.
要查看您的shell中设置了哪些环境变量,键入printenv命令。
The crontab invokes the default editor, as specified using the VISUAL or editor shell environment variables.
crontab调用默认编辑器。默认编辑器使用shell环境变量VISUAL或EDITOR来指定。
In step 3, you set the aforementioned environmental variables in the current shell session.
在步骤3中,在当前shell会话中设置前述的环境变量。
The output of set includes the environment variables, because those are available to the shell as well.
set的输出包括环境变量,因为它们对Shell来说也是可用的。
PS1 can contain other shell and environment variables, in-place command evaluation (via backquotes), and specialized literals. Here's an initial example.
PS 1可以包含其他shell和环境变量、置换命令运算(通过反引号)和特殊的字面值。
Startup files can create aliases, set shell options, create functions, and set environment variables.
启动文件能够创建别名、设置shell选项、创建函数、以及设置环境变量。
This means that environment variables not only are exclusive to shell scripts, but can be used by standard compiled programs as well.
环境变量不仅由shell脚本独用,而且还可以由编译过的标准程序使用。
Now, users could write shell scripts; store and export information in variables; control file descriptors; control signal handling, for loops, and case statements; and so much more.
到这时,用户可以编写shell脚本,在变量中存储信息和导出信息,控制文件描述符,控制信号处理,使用for循环和case语句,以及其他大量功能。
The use of a subshell is preferable in cases when you are redefining environment variables in your list of commands and you do not want those definitions to apply to your current shell.
当您在命令列表中重新定义环境变量,并且您不希望将那些定义应用于当前shell时,使用Subshell更可取。
It's interesting to note that the shell scripts are sourced into the parent shell so that early scripts can set environment variables for later ones to use.
有趣的是,这些shell脚本被引入了父shell中,这样,早期的脚本就可以为以后的脚本设置一些环境变量了。
Z shell aliases can contain many shell primitives, including variables, pipes, redirection, other aliases, and other shell operands, as shown in Listing 9.
ZShell别名可以包含许多Shell基本单位,包括变量、管道、重定向、其他别名和其他shell操作数,如清单9所示。
Like the shell, you can customize many other UNIX applications through environment variables.
与shell一样,可以通过环境变量定制其他许多UNIX应用程序。
So far, you've learned how to start writing a Korn shell script by writing a basic script header and defining some variables.
到目前为止,作为编写Kornshell脚本的入门内容,您已经了解了如何编写基本的脚本标头,以及定义变量。
The shell includes some built-in variables that you can use, too. Here are some of them.
Shell也包括了一些内建的变量可供食用,这是其中的几个。
Geometry analysis and design procedure of complex pantograph structures are studied with joint coordinates as variables and parabolic shell is taken as an example.
以抛物面壳为例,介绍了用节点坐标为未知量分析复杂剪式铰结构几何问题的方法和几何设计的步骤。
The most vulnerable area of the vertical steel oil tanks being destroyed is the bottom shell, because the variables acting on it are random, reliability analysis can be applied in assessment.
立式钢油罐强度破坏的重点区域在底圈罐壁,其作用的各变量因素具有较大的随机性,可靠性评价方法较为适用。
The most vulnerable area of the vertical steel oil tanks being destroyed is the bottom shell, because the variables acting on it are random, reliability analysis can be applied in assessment.
立式钢油罐强度破坏的重点区域在底圈罐壁,其作用的各变量因素具有较大的随机性,可靠性评价方法较为适用。
应用推荐