Vi Editor Linux command.
Vi Editor Linux command.
The vi editor is a powerful text editor commonly found in Unix and Unix-like
operating systems. It operates in different modes and has a variety of commands
for editing text. Here’s a brief overview of its features and basic commands to help
you get started:
Basic Modes in vi
1. Normal Mode: This is the default mode. You can navigate and issue
commands but not insert text.
2. Insert Mode: You can insert text. You enter this mode by pressing i, I, a, A,
o, or O.
Switching Modes:
Enter Insert Mode:
o i (insert before the cursor)
Before
After