I have a question, I have installed Ubuntu 14.04 and on this machine is icinga software. when I opened the terminal and typed:
sudo vi /etc/icinga/objects/localhost.cfg
then the terminal opened the file, but I can't type in this file. When I type "d" then the terminal delete everything in the file.
vim
andvi
are used the same way. Do you mean to suggest usingnano
instead? – Eliah Kagan Sep 16 '14 at 14:36vi
(asvim.tiny
) and fullervim
installations operate based on the same modal editing concept and have the same basic usage. At the level of answering the question of why typing D deletes a line instead of writing D at the current cursor position, the same answers apply tovi
andvim
. – Eliah Kagan Sep 17 '14 at 14:50