I am trying to create a secure node on my new vps but I am far from a Linux user! I spend more time in Windows and SQL, so I am not used to all of the Linux controls. This is the project that I am hoping to get proficient in Linux but I am pulling my hair out!
I am at the step to add the ip address to sudo vim /etc/hosts but when it pulls up I can’t add any lines, I have tried to get into insert mode and I think I finally did. “I” but after adding everything I don’t know how to ensure it saves or how to check if it worked. So I found a site that mentioned to hit “:w” to save now I am stuck without a command line, so I reboot. When I reboot and go back to ensure it worked it tells me that there is either two files or an open file. So if I hit R it takes me to the same file and if I hit D it takes me to that same screen. Help what am I messing up, and what command will bring the command line back?