O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercises

1.How can you cause vim to enter Input mode? How can you make vim revert to Command mode?
2.What is the Work buffer? Name two ways of writing the contents of the Work buffer to the disk.
3.Suppose that you are editing a file that contains the following paragraph and the cursor is on the second tilde (~):
The vim editor has a command, tilde (~), 
that changes lowercase letters to
uppercase and vice versa.
The ~ command works with a Unit of Measure or
a Repeat Factor, so you can change
the case of more one character at a time.

How can you

  1. Move the cursor to the end of the paragraph?

  2. Move the cursor to the beginning of the word Unit?

  3. Change the word character to letter?

4.In vim, with the cursor positioned on the first letter of a word, give ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required