What you'll learn:
- To be able to use Vi fully to write shell scripts
Although other text editors may be easier to use, vi is built into all Unix systems (including Linux and Mac OS). Knowing a few basic vi commands guarantees you'll be able to work with these systems when no other editor is installed. In this course, I will show you how to get in and out of vi, switch modes, and start editing files in place. Learn how to change text within a file, use commands like undo and yank, find and replace text, and invoke more advanced Unix commands. Although it may be mysterious, vi is still the standard text editor for all Unix systems. Start learning it now and run your systems more smoothly in the future.
Topics include:
Entering and leaving vi
Understanding the Command, Insert, and Colon modes
Moving around in files
Editing text
Moving content with delete, yank, and put
Searching with regular expressions
And more!