sudo mkdir /var/www/site.local/publick_html Create a folder for the site
sudo vi /var/www/site.local/publick_html/index.php Create a file
Through the console, these 2 commands begin to “Fail” - https://yadi.sk/i/L4-Cg-jizjbmJ
they themselves are assigned to the file name .swp, I especially do not know how to use such swap files, and I don’t need it. How to fix it?
The console also hangs after writing these commands.
On the server, clean ubuntu 16.04 + LAMP
================================================= ===========
Edit1 * Installed vim by manual, but this did not help, the fact is that when you enter any vim or nano command, the console behaves very strangely, nothing can be entered after that. I use the Bitvise ssh client, but this is not about it. From despair installed desktop gvim, but I understand, it does not have a built-in console?)
$ echo "set noswapfile" >> ~/.vimrc- aleksandr barakin