1.2.2. Exercises
The only way to learn vi is to practice.
You now know enough to create a new file and to return to the
UNIX prompt.
Create a file called practice, insert some text, and then
save and quit the file.
Open a file called practice in the current directory: |
vi practice |
Insert text: |
i any text you like |
Return to command mode: |
ESC |
Quit vi, saving edits: |
ZZ |