Chapter 4. Editing Files

These labs should be performed on the Ubuntu operating system that you installed in Chapter 1, “Distributions and Key Components.” Before you begin this lab, log in to the student account that you created during the installation process.

Answers may vary in this lab, as there are multiple ways to accomplish various tasks in vim.

Lab 4.1 Editing Files with the vim Editor

Step 1. Open a terminal window.

                                       

Step 2. Copy the /usr/share/doc/git-doc/user-manual.txt file into your current directory (This file was chosen because it is on the system by default and is a rather large file.)

                                       

Step 3. Open the user-manual.txt file in a vim editor.

                                        ...

Get Linux Essentials for Cybersecurity Lab Manual, First 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.