Start vi to edit the fi le temp from the previous question.
Using ex commands where possible: Move lines 2 through 4 to be after line 5. Undo the change.
Using ex commands where possible: Copy lines 2 through 4 to the top of the editing buffer. Undo the change. At this point, the editing buffer should look like it did when you started. Quit without saving.
Compare the vi commands you used in Exercise #2 with the ex commands you used in Exercise #3. What advantages did the ex commands have?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here