HOW TO EDIT AND SAVE A FILE WITH PUTTY? [EASY GUIDE]☑️
Today in this documentation you will learn how to Edit and Save a file using PuTTy. Suppose you want to edit a file whose location is /home/root/public_html/etc/hosts where etc is a directory and hosts is a file, then how to edit hosts file using PuTTy.
Let us quick watch this video to easily learn how to Edit and Save a file using PuTTy.
Follow the steps given below to edit and save a file using PuTTy:
Step::1 Login to PuTTy
Step::2 Begin by entering vi command to edit the file followed by the path as given below:
Step::3 After running this command in PuTTy you will reach out to the hosts file
Step::4 Enter “i” to insert and then make the changes to the hosts file you want
Step::5 After finishing editing press ESC button to come out of insert mode
Step::6 Now to save the changes enter the command given below:
This is how you Edit and Save file using PuTTy.
If you enjoyed this tutorial, please consider following us on Facebook and Twitter.