




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、答案:答案:A Which of the following vi commands would be used to change the next two words?A. c2wB. 2RC. 2cwD. r2答案:答案:B Which key should be pressed in the vi editor to enter text-input mode and begin inserting text BEFORE the cursor position?A. aB. iC. $D. o答案:答案:C Which of the following commands would
2、be used to move the current line of text?A. yyB. “a1yyC. dd D. :”a1dd答案:答案:C Which of the following is the vi editor command that will delete one word at a time while in command mode?A. ccB. ddC. dw D. rw答案:答案:B Which of the following commands will save the file the user is editing and not exit vi?A
3、. :wqB. :w C. :xD. ZZ答案:答案:A Which command can be used to enter the vi editor and create the file “myfile” without generating any errors?A. vi myfileB. vi -c myfileC. vi -y myfileD. vi -t myfile答案:答案:D Which vi command can be used to change the location of the cursor position to line 16 of a file?A.
4、 16B. j16C. /16D. :16 答案:答案:B Which of the following vi commands would be used to change all occurrences of the word “text” to the string “my text”?A. :/text/s/my text/gB. :g/ text /s/ my text /gC. :g/text /s/my text /gD. :g/text/s/my text/g答案:答案:A Which vi command string searches a file for the fir
5、st instance of the phrase “the one and only”A. /the one and only/B. /the one and only/C. /the one and only/sD. /the one and only/g答案:答案:C Which vi command can be used to copy a line of text into the text buffer?A. iB. rC. yy D. cc答案:答案:B Which of the following vi commands could be used to delete the
6、 current line of text and enter insert mode?A. ddB. ccC. iD. C答案:答案:D Which of the following vi commands would be used to search backwards from the current position for the word string?A. /stringB. /string/C. :/stringD. ?string答案:答案:C D Which vi command is used to concatenate two sequential lines to
7、gether?A. cB. CC. J D. :join 答案:答案:A Which key should be pressed in the vi editor to enter text-input mode and begin inserting text AFTER the cursor position?A. a B. OC. iD. e答案:答案:D Which of the following is the vi editor command that delete the rest of the line after the cursor position while in c
8、ommand mode?A. rB. dC. $dD. D 答案:答案:D Which vi command would be used to delete text from the current cursor position to the end of the line?A. ddB. dbC. XD. d$ 答案:答案:D Which of the following commands would be used to insert the text in buffer a on the line above the current line?A. :”aB. “apC. “alD.
9、 “aP 答案:答案:A Which command is used to exit the vi editor without saving the data?A. :q! B. :e!C. :wq!D. ZZ答案:答案:B Which of the following commands would display all of the current vi options?more $HOME/.exrcB. :set allC. :setD. :set list答案:答案:D Which of the following vi commands would be used to change only the current character?A. RB. cC. ccD. r 答案:答案:C Which vi command is used to reverse the last action taken?A. rB. cC. u D. x答案:答案:C Which vi command should be used to position the cursor at the end of the current line?A. 0B. aC. $ D. e答案:答案:B What is contained in the .exrc file?A. the
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 甘肃省白银市靖远县2025届数学七下期末学业水平测试试题含解析
- 2025届广东省北京师范大广州实验学校数学七下期末复习检测试题含解析
- 大学生情感困惑问题调查
- 流动人口计划生育工作总结十篇
- 泪腺日常护理指南
- 语言法律法规试题及答案
- 应届生校招:国企大数据岗位面试题目及答案
- 银行岗位面试题及答案
- 颛孙恩扬心得体会模版
- 飞行安全标准化管理框架
- 2025年统计学专业期末考试题库-抽样调查方法应用案例分析试题
- 2025陕西中考:历史必背知识点
- 2025年下半年贵州乌江水电开发限责任公司大学毕业生招聘若干人易考易错模拟试题(共500题)试卷后附参考答案
- 《车载充电器》课件
- 2025年浙江东阳市九年级中考语文3月模拟试卷(附答案解析)
- 2024年沈阳市三支一扶考试真题
- 《绝经后出血》课件
- 食品合作商合同协议
- 中药人员考试试题及答案
- 2025年吉林省四平市梨树县中考二模历史试题(含答案)
- 脑梗死的介入治疗
评论
0/150
提交评论