To begin writing your first Korn shell script, you need to open the vi editor and add the shell name as the first line.
要开始编写您的第一个Kornshell脚本,首先需要打开vi编辑器,并添加Shell名称作为第一行。
Even though an ostrich lays eggs and those eggs have a shell, the ostriches name is unrelated.
尽管鸵鸟会下蛋,而且它们的蛋也有一层壳,但是鸵鸟的名称ostriches与本文讨论的单词是无关的。
Yesterday afternoon, another member of staff at the hospital – who gave his name only as Stephen – said: "Today at 7.30am one shell fell in the hospital admission ward near a temporary shelter.
昨日下午,一名只是自称斯蒂芬的工作人员声称:"今天早晨7:30左右一枚炮弹降落于医院收症室内一所临时掩护体的附近。 当时造成了47人死亡。
These are not supported on Solaris but, if you create a shell script with the name adduser, you can simulate the Linux version and then run the real Solaris useradd command with appropriate options.
这些扩展选项在Solaris 上不受支持,但是,如果创建一个名为 adduser的外壳脚本,您就可以模拟Linux版本,然后用适当的选项运行实际的 Solarisuseradd命令。
By default, the name of a window is taken from the first command it launches-commonly, a shell.
在默认情况下,窗口的名称取自它启动的第一个命令(通常是一个shell)。
Bring up the utility by typing its name on the root shell.
在rootshell中输入这个工具的名称来打开它。
Otherwise, the shell interprets the trailing text as part of your variable name — and most likely returns a null value.
否则,Shell将把尾随文本解释为变量名称的一部分——并且很可能返回一个空值。
A great number of shell features affect how the command name you type is interpreted.
大量的Shell特性可以影响到如何解释您所输入的命令名。
System-wide startup files are also used to name printers, display bulletins about planned downtime, and provide new users with reasonable shell defaults.
系统范围的启动文件也可用于命名打印机,显示关于计划停机的公告,并为新用户提供合理的Shell缺省值。
As an example, this command finds all instantiations of strike's login shell, (where strike is the name of a user).
例如,以下命令寻找strike的所有登录shell(其中的strike是用户名)。
After you start typing the name of a file, you can click Escape, and the shell fills in the name of the file-or as much as it can.
在您开始键入文件名后,可以按esc键,Shell将完成文件名,或完成尽可能多的部分。
Secure Shell (SSH), as the name suggests, is a tool that provides a high degree of security and reliability to data as it is transferred across the network.
SecureShell (SSH),顾名思义,是一种为网络上传输的数据提供高度安全性和可靠性的工具。
If you now start up another instance of the Erlang shell, you can set a different a different name, as shown in Listing 4.
如果启动Erlangshell的另外一个实例,可设置另外一个不同的名称,如清单4所示。
The other widely used API for wire-level encryption is SSH (Secure Shell), well known from the tool of the same name (in lowercase: ssh).
另一个广泛应用于连接级加密的API是SSH(SecureShell,安全Shell),它因与其同名的那个工具(小写的 ssh )而出名。
To connect to a remote host using the standard shell, you can just type the name of the host
要使用标准Shell连接到远程主机,您只需键入主机名
To use the TDB shell, just run tdbtool by itself or pass the name of the file on the command line.
要使用tdbshell,只需单独运行tdbtool或在命令行上传递文件的名称。
You can name your script anything you want, but you usually use the extension.ksh to refer to a Korn shell script.
您可以对脚本进行任意地命名,但通常使用扩展名. ksh来表示Kornshell脚本。
This functionality works a bit differently in each shell, so I show you how to use file name completion in the most popular shells.
该功能在各个Shell中的工作方式略有不同,因此我将向您展示如何在最流行的Shell中使用文件名完成。
Another useful operation of the vi inline editor in the Korn shell is file name completion.
Kornshell中vi行内编辑器的另一个十分有用的操作是文件名完成。
To change the shell, execute CHSH with the user's name, and then select the desired shell, as shown in Listing 9.
改变shell的方法是执行chsh并提供用户名,然后选择所需的shell,见清单9。
As the name implies, startup scripts are true shell scripts-those little programs you write to achieve some work.
顾名思义,启动脚本是真正的shell脚本,即为实现某些工作而编写的小程序。
From a shell prompt, you can display the path name of the directory you're in by running the command PWD, shown in Listing 1.
从shell提示,您可以显示您所在的目录的路径名,方法是运行命令pwd,如清单1所示。
Create a shell variable called cc whose value is the full path file name to the GCC binary.
创建一个shell变量cc,它的值是gcc二进制代码的完整路径文件名。
Notice the shell prompt: It reflects the user name, the short hostname (everything before the first dot), and the command number.
请注意Shell提示符:它反映出了用户名、简写的主机名(第一个点前面的部分)、以及命令编号。
Also, since you'll most likely want to see the default prompt, you can switch shells by simply running the binary name for the shell. (sh, ash, bash, ZSH, CSH, KSH, and so forth).
通常你会想看看默认的提示符,你可以通过运行shell的命令来切换到相应的shell (sh、ash、bash、zsh、csh、ksh等等)。
The C shell supports the most straightforward file name completion.
CShell支持最直接文件名完成功能。
This machine was known as a conche, because its shape was similar to the shell with that name (Figure 1.5).
这种机器以海螺巧克力精炼机闻名于世,因为它的形状和海螺壳相似(图1.5)。 。
For Korn shell users, file name completion depends on the value of the EDITOR variable.
对于KornShell用户,文件名完成取决于EDITOR变量的值。
Shell: How to a file's specified parent directory's name?
壳牌:如何指定文件的父目录的名字吗?
The stripe coat must be applied prior to full coat on the erection joints, marker of tanks, water line, draft mark, ship name and port register etc of shell plate.
外壳上的焊缝、舱室标记、水线标记、水尺、船名、港籍名等每一度涂层施工前均要做预涂;
应用推荐