1 / 16

Chapter 9 Using Text Editors

Chapter 9 Using Text Editors. vi Editor. vi sual Editor, ASCII text editor, no formatting capabilities almost as powerful as MS Word, has 26 clipboards (A-Z) and has its own book useful when working remotely on unix workstations, called the number one tool for the network administrator

sachi
Download Presentation

Chapter 9 Using Text Editors

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 9 Using Text Editors

  2. vi Editor visual Editor, ASCII text editor, no formatting capabilities almost as powerful as MS Word, has 26 clipboards (A-Z) and has its own book useful when working remotely on unix workstations, called the number one tool for the network administrator either love it or hate it, but very cryptic no mouse or arrows to position cursor! universally available on UNIX systems, used for remote login or telnet

  3. vi Modes command - initial mode, opening files, positioning cursor, modifying existing text entry - enter or append text last line - save, exit, edit session

  4. Moving Between vi Modes

  5. Moving Between vi Modes

  6. vi Command Syntax $ vi [option(s)] [filename] vi – by itself, starts the vi editor and opens a new file (not yet named) vi filename – if file exists it is opened for editing - if not it’s created vi -r filename - recover a crashed file vedit - Starts the vi editor with showmode - displays the entry mode view – in read-only mode - no changes

  7. vi Command Mode (J)ump down (k)ick up (h)ind site – backward or left arrow (l)ead on – forward or right arrow

  8. vi Entry Mode

  9. vi Last Line Mode

  10. vi Editing Commands In Command Mode: delete undo, change copy, paste

  11. vi Editing Commands In Last Line Mode: edit session search

  12. CDE Text Editor

  13. Labs/Assessment Lab 9.1.8 – Using the vi Editor Lab 9.2.6 – User the CDE Text Editor chapter 9 assessment

  14. Chap 9 Exercise 1. Create a new file called bio and populate it with info and then save it.

  15. Chap 9 Exercise (Solution) 1. Create a new file called bio and populate it with info and then save it. $ vi bio Automatically in entry mode as if pressed “i” rt Add information Esc key to get back into command mode :wq (writes buffer to file – saves file and exit)

More Related