aix系統應用基礎-練習題5-vi編輯器ppt課件_第1頁
aix系統應用基礎-練習題5-vi編輯器ppt課件_第2頁
aix系統應用基礎-練習題5-vi編輯器ppt課件_第3頁
aix系統應用基礎-練習題5-vi編輯器ppt課件_第4頁
aix系統應用基礎-練習題5-vi編輯器ppt課件_第5頁
已閱讀5頁,還剩18頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

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. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論