Answer the question
In order to leave comments, you need to log in
How to edit a file in vim basic editor?
Good evening.
Ubuntu 13.10, I'm trying to edit the php.ini file as root - the vim basic editor has opened. How can I edit a file and save it? One line needs to be edited to display errors when executing PHP files.
Answer the question
In order to leave comments, you need to log in
Go to edit location with h/j/k/l, press i to start editing, esc to end, type :w to write file. :q to exit.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question