Articles → DevOps → vi editor in linux

vi editor in linux






Purpose





Work on the vi editor








Picture showing the Session button to connect to linux server using MobaXTerm

Click to Enlarge





Picture showing the option to enter the remote host and username in MobaXTerm

Click to Enlarge



sudo -i




touch karan.txt






vi karan.txt




Picture showing the opening of file using vi editor

Click to Enlarge



SHIFT+ESC
:wq
Enter



Check the content of the text file




cat karan.txt


Picture showing the content of the file using the cat command

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, November 11, 2020

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250