Type the following commands at your shell prompt.
在Shell提示符处输入下面的命令。
Type echo "[Ctrl-v][Esc]]2; Hello [Ctrl-v][Ctrl-g]" at the shell prompt.
在shell提示上输入echo "[Ctrl-v][Esc]]2;Hello [Ctrl-v][Ctrl-g]"。
When the license message appears, click Return; you should now see a new login shell prompt.
在出现许可协议消息时,按Return;现在应该会看到一个新的登录shell提示。
While running an interactive CLI session, the normal command shell prompt is changed to >>>.
在运行交互式CLI会话期间,普通的命令shell提示符将被修改为 >>>。
On the Windows and UNIX systems, you can run the command from a command line or shell prompt.
在Windows和UNIX系统中,您可以在命令行或shell提示符后运行该命令。
Then, when you run CD, the variable PWD will be updated and displayed as part of the shell prompt.
然后,当您运行cd时,变量pwd将被更新并显示为shell提示的一部分。
If you spend a lot of time at the shell prompt, recording shell history can save time and typing.
如果您经常在shell提示符中花费大量时间,保存shell历史记录可以节约时间和输入。
Note: In the examples that follow, the "$" sign represents the shell prompt and is not to be typed.
注:在接下来的那些示例中,“$”符号代表shell提示符,不必输入它。
Compile all source files by entering the following command at the Windows SDK command shell prompt.
通过在WindowsSDK命令Shell提示符处输入以下命令编译所有源文件。
You can run this utility from the DOS prompt (on Windows) or the shell prompt (on UNIX and Linux).
您可以在DOS提示符(Windows)或shell提示符(UNIX和Linux)下运行该实用程序。
If you prefer the VIOS shell prompt, there are very few commands to learn, and they're easy to remember.
如果喜欢使用VIOSshell提示符,只需学习很少几个命令,而且很容易记住。
You will need to run this command from a regular shell prompt, not the interactive command Line Processor.
您将必须在一般提示符下运行该命令,而不是在有交互性的DB 2命令行处理器下。
Restarting it with fg also brings the job right back to the foreground, and you no longer have a shell prompt.
使用命令fg重启任务还会将其带回到前台,因此不再出现shell提示符。
The R shell prompt -- especially if you have GNU readlines installed -- is a wonderful interface for exploration.
Rshell提示符 ——尤其是如果您安装了GNUreadlines ——是一个极好的用于研究的界面。
Let's examine a handy script called arc, which will allow us to create backup snapshots from a Linux shell prompt.
我们查看一个名为arc的简单脚本,该脚本支持从Linux的shell提示符创建备份快照。
You can set the shell prompt variable PS1 in your.profile in your home directory by adding the lines shown in Listing 4.
通过添加清单4中的行,可以在您主目录的. profile文件中设置shell提示变量ps1。
Notice the shell prompt: It reflects the user name, the short hostname (everything before the first dot), and the command number.
请注意Shell提示符:它反映出了用户名、简写的主机名(第一个点前面的部分)、以及命令编号。
Note that here, you're typing interactively at the shell prompt; at each >, you type the next line of your interactive shell script.
注意,这里在shell提示下交互地输入;在每个 > 后面,输入交互式 shell 脚本的下一行。
At the AIX shell prompt, it takes three commands to compile the programs, one command to generate an executable main program and run it.
在AIXshell提示中,它使用三个命令编译程序,一个命令生成一个可执行主程序并运行该程序。
Suppose, for example, that you need to know the date two weeks hence. If you're at a shell prompt, you can get the answer immediately.
例如,您需要了解两星期以后的日期。
To demonstrate stdin and stdout, type the following text in your terminal window (assume that the leading percent sign (%) is your shell prompt).
为了说明stdin和stdout,您可在终端窗口中输入以下文本(假设前面的百分号(%)为您的shell提示符)。
When you next log in, your .profile should execute as part of the login process, and this should display the working directory as part of the shell prompt.
当您下次登录时,您的.profile 文件将作为登录流程的一部分执行,这将把工作目录显示为shell提示的一部分。
And yet, here I am with a shell prompt on an eight-way multiprocessor system with RAID drives, 32GB of memory (hey, it looks huge to me), and two months of uptime.
现在呢,我却正在一台具有RAID磁盘、32GB内存(对我来说这可真大)并运行了2个月的8 路多处理器系统上使用一个shell提示符。
For example, to find the list of unique filenames in the folder hierarchy rooted at the current working directory, you can type the following at your shell prompt.
例如,要在当前工作目录下的文件夹层次结构中查找独特文件名的列表,您可在shell提示符下输入以下命令。
With just a few keystrokes and a bit of syntactic glue, including pipes (|), tee, and redirection, you can assemble your own impromptu data transforms at each shell prompt.
只需按一些键并使用一些句法粘结剂,包括管道(|)、tee和重定向,您就可以在Shell提示符中即兴组装自己的数据转换器。
What happens in this case is that a "process id" (pid) such as 1234 will be displayed, and then your shell prompt will appear almost immediately, allowing you to type more commands to the shell.
在这个例子中发生的情况是:“进程标识”(pid)如1234将被显示,然后shell提示符几乎立刻会出现,使得您能向shell输入更多命令。
What happens in this case is that a "process id" (pid) such as 1234 will be displayed, and then your shell prompt will appear almost immediately, allowing you to type more commands to the shell.
在这个例子中发生的情况是:“进程标识”(pid)如1234将被显示,然后shell提示符几乎立刻会出现,使得您能向shell输入更多命令。
应用推荐