How Do I Use Vi Text Editor in Linux?
Contents How Do I Use Vi Editor in Linux? to Enter Insert Mode, Press I. in Insert Mode, You Can Enter Text, Use the Enter Key to Go to a New Line, Use the...
Contents
How do I use vi editor in Linux?
To enter Insert mode, press i . In Insert mode, you can enter text, use the Enter key to go to a new line, use the arrow keys to navigate text, and use vi as a free-form text editor.
…
More Linux resources.
| Command | Purpose |
|---|---|
| G | Go to the last line in a file. |
| XG | Go to line X in a file. |
| gg | Go to the first line in a file. |
Must Read
What is vi editor command in Linux?
The default editor that comes with the UNIX operating system is called vi (visual editor). Using vi editor, we can edit an existing file or create a new file from scratch. we can also use this editor to just read a text file. … The vi always starts in command mode. To enter text, you must be in insert mode.