Basic Terminal-Based Text Editors

A basic summary of how you can edit files or make changes using terminal commands or terminal-based text editors.

We'll cover the following

The goal of this course is to cover the necessary Git commands and concepts. To do that, we will have to alter the content of some files as we go along. We have a variety of options to opt for in this regard. Since you will be able to test out all the commands within the lessons, it’s going to be beneficial if you have an idea about how you can modify plain text files using the terminal itself.

Normally, we use fancy text editors and notepad applications, but, for this course, we will opt to use plain terminal-based commands and terminal-based text editors to make changes and updates.

Using the echo command

We can add text to a file using the echo command which is shown below:

Get hands-on with 1400+ tech skills courses.