Using the vi Text Editor

In this chapter, you will learn about

•   The role and function of the vi text editor

•   Editing text files in vi

•   Editing text files in nano

One of the key skills you will need when working with any Linux system is the ability to use a text editor effectively. Most system-configuration tasks in Linux are completed using a text editor to edit a text file, whether you’re configuring the operating system itself or configuring a service running on the system.

The Role and Function of the vi Text Editor

At this point, you may be thinking, “I know how to use text editors on other operating systems. I can use Notepad on Windows. Why are you devoting an entire chapter to text editors in this book?” There are ...

Get CompTIA Linux+ Certification All-in-One Exam Guide: Exam XK0-004 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.