After inserting data into vi editor file you have to save that data for saving that data you just have to follow below steps :-
- First press ESC key.
- Then press :
- then press w key
- then after space just type the file name and press enter key.
Here you go your file is saved with your given name for your help i am going the command below again :-
:w myfile
No comments:
Post a Comment