This afternoon on the computer to play virtual machine found the problem in Baidu find a good way to try after all not yet, left behind is I have no intention to find so is to accumulate their own experience of learning, words do not say more, see the problem,
Generally to enter the file to write something is VI + specific filename +enter can, but can also be used to write VI even though I do not know what is now written in this paper, but after the problem is likely to be someone will encounter the first write down, generally written after the press Q or Wq again or!w will be able to exit , but when you go directly into the writing with Vi+enter, you will find that these commands can not be introduced, when I was on the internet that people say "first update apt-get #sudo apt-get Update"
But it's a pity that you can't quit.
The solution is very simple, only ctrl+z can be;