I am new to Putty, I am trying to learn to manage a VPS. The fist step is learning to use Putty. Do you guys help me to open, edit and save a file in this program? What are the fastest ways to do this job?
Thanks in advance.
I would recommend using nano editor to edit and save content for your files. After connected to your VPS, you can edit your files by using an editor. There are many editors of Linux support you edit file content as vi, emacs,...however I prefer using nano because it is easy to use and control its functions.
If you have not installed nano editor yet, you can use this command
For CentOS:
For Ubuntu:
to use nano, you type this command
for example
This is the sceen of Nano editor
At the bottom of the screen, you will see shortcut keys when working with nano
^ symbol insteads for Ctrl
Ctrl+O: save file
Ctrl+X: quit the program, you can need to press Y/N
Ctrl+W: search
Good luck to you.