Pham Quỳnh
New member
How do I get vim on Linux?
Answer
How to edit file using vi utility on Linux?
Answer
How to edit file using vi utility on Linux?
- Connect to the server via SSH.
- Install improved vi editor: # yum install vim -y (CentOS/RHEL/CloudLinux)
- Start editing the required file by typing:
- In the text editor, press computer’s i key to edit the file.
- After editing the required string or pasting the text, press Esc button.
- To discard the changes, type :q!