[?LIVE] How to edit and save a file in PuTTy?

Аватар автора
Программистская Практика
Today in this video 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 then how to edit hosts 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: --------------------------- vi /etc/hosts --------------------------- 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: :wq! That&it!!! This is how you edit and save file using PuTTy. Hope you enjoyed the video..thanks for watching!!! If you have any suggestions or problems related to this video, please let us know via the comment section below. #usefulsshcommands

0/0


0/0

0/0

0/0