Viewing and modifying command history.
查看和修改命令历史记录。
To enable command history in Z shell, type.
要在ZShell中启用命令历史,可以输入。
The command history -2 prints the previous two commands.
命令history- 2打印出前两个命令。
After working in the shell a while, you can view your command history by simply typing history.
在Shell中进行了一段时间的工作之后,您只需输入history就可以查看命令历史。
GShell is an extensible environment and includes support for editing, command history, and TAB completion.
GShell是一个可扩展的环境,并包括对编辑、命令历史记录和按tab键自动完成(tab completion)的支持。
If you start two separate interactive CLP sessions, each session's command history is stored in a separate cache.
如果启动两个单独的交互clp会话,每个会话的命令历史记录都存储在单独的缓存中。
The toolbar buttons can be used to clear the command history and list panes, import, export, and run lists of commands.
您可以使用工具栏按钮来清除命令历史以及列表窗格,命令的导入、导出以及运行列表。
As an example, commands you run in R13 will appear in the command History when you run R13SP1, and the converse is true.
又比如,在R13下运行的命令同样出现在R 13sp1下的命令历史窗口中,当然相反的也是有效的。
(two exclamation marks), might look a little strange, but it's a command history sigil that repeats the previous command verbatim.
(两个感叹号),可能看起来有些奇怪,但它是一种命令历史符号,可以一字不差地重复前面的命令。
You can go backwards and forwards through your command history (in reverse chronological order) using Control-P (previous command) and Control-N (next).
使用Control - P(上一个命令)和Control - n(下一个命令),您可以在命令历史记录中向后或向前移动(按反向的年代顺序)。
The command history does not persist from session to session; the cache is cleared when the session ends, which normally happens after you run the QUIT command.
命令历史记录不会在会话与会话之间持续;会话结束时,缓存就会被清除,这通常发生在运行QUIT 命令之后。
Advanced bash features (for example, epoch, functions, signal control, multiple extensions, command history, the means of using one-dimensional arrays) that give users much more power than before.
高级bash特性向用户提供比以前更强的能力(例如,纪元、函数、信号控制、多个扩展、命令历史、使用一维数组的方法)。
To rerun a command, you simply find its entry in the history list and rerun it.
要再次运行一个命令,只需从这个历史列表中找到相应的条目,然后再次运行它。
For example, to extract the second argument of command 782 in the history log, type the code shown in Listing 4.
例如,要提取历史日志中命令 782的第二个参数,可以输入清单4 中所示的代码。
A simple delete command causes DB2 to remove the data from the current table and maintain an old version in the history table, including the end time of the deleted data.
一个简单的DELETE命令导致DB 2从当前表移除数据,并在历史表中维护一个旧版本,包括已删除数据的结束时间。
You can use the LIST HISTORY command to interrogate the database backup history.
您可以使用LISTHISTORY命令查询数据库备份历史。
You can also use a colon (:) followed by certain values to access or modify part or a command from your history.
可以使用冒号(:)后跟某些值来访问或修改历史中的命令。
Invoking the HISTORY command again shows that there are now five commands or statements in the cache, including the modified SELECT statement.
再次调用HISTORY命令来显示缓存中现在有5个命令,包括修改的SELECT语句。
List the dropped table history by issuing the command.
通过发出命令来列出被删除表的历史。
Before DB2 V8.2.2, you had to use the LIST HISTORY CLP command or the corresponding API to retrieve information.
在DB 2V8.2.2之前,您必须使用LISTHISTORYCLP命令或相应的API来检索信息。
When using the RESTORE database command to create the standby database from a backup image, IBM recommends that the REPLACE HISTORY FILE option be specified.
在使用RESTOREDATABASE命令从备份映像创建备用数据库时,IBM建议指定REPLACEHISTORYFILE选项。
For example, the "! "character is the history expansion character, which bash normally replaces with a previously-typed command.
例如,“ ! ”字符是历史扩展字符,bash通常将其替换为前面输入的命令。
Delete history entry 598, the last echo command.
删除历史条目598,即最后一个echo命令。
The main command prompt within bash provides both the ability to edit the command line and a history function, remembering individual command lines so that you can execute them again.
bash中的主命令提示符同时提供了编辑命令行的能力和历史记录功能,后者记住各个命令行,以便您能够再次执行它们。
If you prefer to manipulate the history using a vi-like editing mode, use the command set -o vi to switch to vi mode.
如果喜欢用vi类的编辑模式操作历史,那么使用set- ovi命令来切换到vi模式。
You can easily attach and detach the partitions using the DB2 alter table command to move the data from one table (production table) to another table (history table) in the same database.
您可以很容易使用DB 2altertable命令来附加和分离分区,从而将数据从一个表(生产表)移动到同一个数据库的另一个表(历史表)中。
The bash shell USES the readline library to manage command editing and history.
bashshell使用readline历史来管理命令编辑和历史。
You can enable versioning of the temporal table by using the ALTER table command with the ADD versioning clause and specifying the history table name in the use history table clause (see Listing 3).
您可以使用ALTERTABLE命令和ADDversioning子句,并在USEHISTORY table子句中指定历史表名称,为时态表启用版本控制(参见清单3)。
Type the command bind space: magic-space at any prompt, or add it to a startup file to bind the space key to the function magic-space, which expands history substitutions inline.
在任意提示符键入命令bindspace:magic - space,或者将其添加到一个启动文件,从而将空格键绑定到函数magic - space,该函数将扩展内联历史替换。
Robots that turn into giant trucks and command a fleet of autobots - now that could change pop culture history.
如果机器人能变身为巨型卡车还能智慧一大群能变身的汽车人(Autobots)……这就酷到能改变流行文化的历史了。
应用推荐