New to the whole linux system. I am trying to setup SFTP for my server and followed Digital Ocean's doc on the subject however I do not know how to exit from the file I edited.
I tried typing ^X to exit but it didn't work. What am I doing wrong?
Try CTRL + X.
The ^ means Ctrl. So if you've made a change, Ctrl + X, then y to save changes, then enter to save the file name. You may have to edit certain files using sudo, if you get the permission denied on saving. Then that's why.
Thank you all!