- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
openbsd下vi编辑器的用法(The use of the VI Editor under OpenBSD)
openbsd下vi编辑器的用法(The use of the VI Editor under OpenBSD)
The VI editor is the standard editor for all Unix and Linux systems.
1, the basic concepts of VI
VI can be divided into three states, namely command mode (command mode), Insert mode (insert mode) and bottom line mode (last line mode), and the functions of each mode are distinguished as follows:
1) command line mode command mode)
Control screen cursor movement, delete characters, words or rows, move, copy a section, and enter Insert mode, or to last line mode.
2) insert mode (Insert mode)
Only in Insert mode can you do text input, press the ESC key to return to command line mode.
3) bottom line mode (last line mode)
Save or exit the VI, or you can set the edit environment, such as finding strings and listing the line numbers Etc..
Generally we simplify VI into two modes in use, is the bottom line mode (last line mode) on the command line command mode).
2, the basic operation of VI
A) enter VI
After the system prompt symbol enters VI and file name, enter the VI full screen edit screen:
$VI myfile
Note that after you enter the VI, you are in the mode (command), and you have to switch to Insert mode to enter the text.
B) switch to insert mode (Insert mode) to edit the file
Under the command line mode (command mode), press the letter I to enter Insert mode, then you can start typing.
C) Insert switching
You are currently in the Insert mode mode, and you can only enter the text all the time, if you find the wrong word! If you want to move back with the cursor keys, delete the word first, press the ESC key, go to command line mode (command mode), and then delete the text.
D) quit VI and save the file
In the command line mode (command mode), click : the colon key enters Last line mode, for example:
: W filename (enter W filename) save the article as the specified file name filename.)
: WQ (enter WQ, save and exit VI)
: q! (enter Q, do not save, force VI)
3, command line mode (command mode) function keys
1) insert mode
您可能关注的文档
- 2008年高考生物一轮复习资料 第17讲 动物细胞融合与单克隆抗体(In 2008, the college entrance examination was reviewed with seventeenth rounds of animal cell fusion and monoclonal antibodies).doc
- 2009-2010学年度上学期期末考试高二级语文试题(2009-2010 school year, the final exam, sophomore language examination questions).doc
- 2009-2010学年秋冬学年排球理论练习题--e(Volleyball theory exercises for the 2009-2010 winter academic year --e).doc
- 2009-2010学年秋冬学期排球理论练习题--b(Volleyball practice in --b winter and autumn academic year 2009-2010).doc
- 2009国考面试题目汇总及分析(Summary and analysis of interview questions for 2009 countries).doc
- 2009年10月自考语言学概论试题(An introduction to Linguistics in October 2009).doc
- 2009年上海交通大学844金融学考研试题(2009 844 Graduate School of finance, Shanghai Jiao Tong University).doc
- 2009年公共管理学基础(Foundations of public administration in 2009).doc
- 2009年复试真题(2009 interview Zhenti).doc
- 2009年心理真题(Psychological Zhenti 2009).doc
- none和no one的区别(The difference between none and no one).doc
- opera指令详解(opera指令详解).doc
- net use命令大全(使用命令大全).doc
- note-taking (tem4)(笔记(TEM4)).doc
- oracle--单实例-从32位-迁移到-64位-方法(三)---使用导出导入--说明(Oracle-- single instance - migrate from 32 bit to -64 bit - Method (three) - use export import - explain).doc
- oracle to_char 日期转换字符串(Oracle to_char日期转换字符串).doc
- oracle proc文库(oracle proc文库).doc
- oracle版本区别(Oracle version difference).doc
- oracle的普通表转换成分区表(The general table of Oracle is converted into partition tables).doc
- ospf与eigrp的比较(Comparison of OSPF and EIGRP).doc
最近下载
- SICK西克KTS Core色标传感器操作手册.pdf VIP
- GB50345-2012 屋面工程技术规范.docx VIP
- 船舶油漆使用基本基础知识.pdf VIP
- 四年级(上)语文课文同步仿写、续写1.pdf VIP
- 9 天上有颗“南仁东星”课件(共30张PPT)2025-2026学年统编版语文八年级上册.pptx VIP
- 高级保育员课件.pptx VIP
- 第十章生态系统.ppt VIP
- 《脑卒中运动障碍康复护理规范》.pdf VIP
- 2012年全国创新杯说课大赛作品汇总铰链四杆机构的类型及判定说课(新蓝).ppt VIP
- 年处理80吨茯苓提取车间提取工段工艺设计-毕业论文(设计).doc VIP
文档评论(0)