CHAPTER 2
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
Every living thing is a masterpiece, written by nature and edited by evolution.
—Neil deGrasse Tyson, Hayden Planetarium
One of the important skills that you 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 an editor to modify a text file, whether you’re rebuilding the operating system or configuring a service.
The Role and Function of the vi
Text Editor
You may be familiar with text editors included with other operating systems, such as Notepad on Windows or TextEdit ...
Get CompTIA Linux+ Certification All-in-One Exam Guide, Second Edition (Exam XK0-005), 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.