Threesuns

Email the Instructor

Contact

All Semesters

Semesters

All Courses

Courses

2015Spring

01.12.15 - 05.10.15

Introduction to UNIX/Linux

CSCI1483

Tuesday Thursday
10:00 AM - 11:20 AM

Vi Practice II

Lab07

Objective: To work with the vi editor to create and edit files.

pastdue

Submit Your Solution

Lab07

Request a Copy of your Solution

Lab07

Requirements

Record each of the commands used (2 pts each)20 pts
Total20 pts

Instructions

Perform each of the tasks described below and record the command(s) used to complete each task in a text file.

Make your lab6 directory your current working directory.

  1. Make a copy of your "about_me" file. Call the copy "vi.practice".
  2. Begin a vi editing session for the "vi.practice" file.
  3. Move your cursor to a specific word using a search command. Repeat the same search.
  4. Move the second paragraph so that it comes last in the text.
  5. Move the cursor to the top of the work buffer.
  6. Add 3 new lines of text above all the rest.
  7. Delete 2 lines of your choosing.
  8. Undo the deletion you just carried out.
  9. Change all occurrences of "the" to "xxx".
  10. End the editing session, storing the file to disk.