Question: Using Linux Ubuntu Complete Question 3 in Introduction to vi What vi commands would you use to accomplish the following Search forward for string Search

Using Linux Ubuntu

Complete Question 3 in Introduction to vi

What vi commands would you use to accomplish the following

Search forward for "string"

Search Backwards for "String"

Change the contents of the current word, (use ESC to stop replacement mode)

Global replacement of string1 with string2

Replace current character with next character typed

Begin inserting text at current cursor location

Begin inserting text at the beginning of the current line

Exit insertion mode and return to command mode

Save the file and exit VI (different than :wq or :wq!)

Return to the last saved version of current file

write lines 1 through 10 to a file called newFile

Write lines 20 through the end of the file and append to the file called newFile

Execute a Linux/Unix command without leaving VI

Read the contents of the file theFile.txt after is has been passed through the UNIX sort commnad

Show line numbers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!