The vi editor is a popular and powerful text editor available on Unix-like operating systems, including Linux. It stands for “visual editor” and is known for its efficiency, versatility, and ubiquity. Here are some key features and characteristics of the vi editor:

THREE MODES

Command mode(esc)
Insert mode(i)
Execution mode(:wq)
#find a word?name or /name (shift+n or n)
#Replace a word::%s/old-name/replace-name/g
#delete linesdd
#Delete five linespress 5 then dd
#copy line:yy
#paste linep
#go to end lineshift +gg

One response to “DAY-9-VI-EDITOR”

  1. […] check-here […]

    Liked by 1 person

Leave a comment

Recent posts

Quote of the week

in learning you will teach and in teaching you will learn

~ Phil Collins
Design a site like this with WordPress.com
Get started