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
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 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.