up previous next contents
Next: Entering Text Into A Up: The UNIX Editor - Previous: Command Description   Contents

Exercise: Opening a File With "vi"

Step #1 Move into your "tmp" directory (the "tmp" directory within your home directory).  Copy the "/etc/passwd" file to your "tmp" directory.

Step #2 Open the file with vi by typing "vi passwd".

Step #3 Type a ":".  Notice this puts the cursor on the bottom-left of the screen.

Step #4 Next, type the letter "q", and hit the "<Enter>" key.


up previous next contents
Next: Entering Text Into A Up: The UNIX Editor - Previous: Command Description   Contents