Today in my article i will tell you about Linux Text Editor Vi.
Vi :
It is a text editor. On the Windows side, you can think of it like “New Text Document.txt”. With the help of this editor, you can view, modify and delete existing text files, or you can use the vi command to create a new text file.
First of all, I want to create a text file named textfile in the directory I am in.
1 |
vi textfile |
The file named textfile above has been created temporarily. By pressing the “i” key, you can open the insert mode, write in it, and after pressing the “ESC” key after typing, “:wq!” We can save and exit with . To exit without saving “:q!” you can use.