Managing Text Files - 1

CompTIA Linux+ Domain:

Domain 2.0: System Operation and Maintenance

CompTIA Linux+ Objective:

Objective 2.3: Given a scenario, create, modify, and redirect files.

Overview

The vi editor is a very powerful text editor on Linux systems. It is the de facto standard of editors on most Unix and Linux systems. This lab provides guidance on creating, modifying, and redirecting files of the Linux+. By performing this lab, students will learn how to manage text files using the vi editor.

outcomes:

In this lab, you will learn to:

  1. Use the vi editor for basic file editing.

 

Key terms and descriptions

vi Editor
The vi editor is a very powerful text editor on Linux systems
Insert Mode
To enter into insert mode, you type an i. If you look at the bottom of the screen, you can tell that you are in INSERT mode with a little message — INSERT — at the bottom of the editor window.
Command Mode
To enter the command mode, you have to press the <ESC> key on your keyboard. In command mode, you can manipulate the cursor and cut, copy, and paste letters, words, lines, etc.