How To Use Vi In Ubuntu?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Open a terminal window by pressing Ctrl+Alt+T.
2. Type in the command “vi” followed by a file name to open that file in the vi editor.
3. Once the file is open, you can use the navigation keys to move the cursor around the document and edit the text.
4. To save the changes you have made, press the Esc key followed by :wq and hit Enter. This will write the changes to the file and exit the editor.