- 1、本文档共25页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
unix的vi命令(UNIXs VI command)
unix的vi命令(UNIXs VI command)
UNIX commonly used commands compilation __vi command UNIX 2009-10-10 09:59:21 read 57 reviews 0 small subscription number:
VI full screen editor
VI (Visual) is a visually oriented full screen editor, is divided into three ways (mode):
Command:
Any input as editing commands, and will not appear on the screen, if the input error is a sound; any input caused by reflected immediately
Insert:
Any input data are placed in the edit register. Input in the form of command (I, a, A, etc.) can enter the insert mode, insert mode according to the ESC, can jump back to command.
Escape:
With the : or / as the leading instruction, appear in the bottom line of the screen, any input is a special instruction.
Enter the VI (input the following commands in the system prompt below):
VI into the VI and not read any file
VI filename to VI and specify the name of the file to read (new and old documents are available).
The VI +n filename into the VI file and start from the first few lines.
VI +filename into VI and start from the last line of the file.
VI + /word filename into VI and start from the word file word.
VI filename (s) into the VI and the specified file list, the first file reads.
Enter VI and VEDIT will display INSERT MODE in the status line in the input mode.
The editor of several files (using VI filename (s)) into the VI)
Args: display each file in the list of Editors
Editor: n read the next file list
Rew: read the first file in the list editing
E#: read before editing a file in the list.
E file: read another file into the VI (the file is not in the edit list), if the original file is not modified file, you should first to file: W.
: e! File forced into another file into the VI file, the original file is not action.
Storage and exit VI
W filename in the specified file, but not out of VI (if the file name is not specified for the current working file name).
WQ or X or ZZ file and exit VI.
Q: not to make any changes and exit VI.
: q! Give up any changes
您可能关注的文档
- oracle dbtimezone与os时区不一致的解决办法(Oracle dbtimezone inconsistent with OS time zone solution).doc
- mysql双机热备(MySQL hot standby).doc
- oracle execute immediate的语法(Oracle执行的语法).doc
- oracle hang分析(Oracle挂分析).doc
- oracle to_char&to_date(Oracle to_char和to_date).doc
- oracle 事务控制、数据并发性和一致性(Oracle transaction control, data concurrency, and consistency).doc
- oracle job 语法和时间间隔的设定(The Oracle job syntax and the setting of the time interval).doc
- oracle 几个服务各代表什么作用(Oracle what are the roles of several services).doc
- oracle 删除重复内容(Oracle删除重复内容).doc
- oracle sql中查找和删除重复记录方法(Find and delete duplicate record methods in Oracle SQL).doc
文档评论(0)