QuestionQuestion

Ex 1. At your home directory, create a new file “test1” which contains following 2 lines, save and exit.
Hello, This is my vi test file
SOI Asia project stands for School of Internet Asia project

Ex 2. Edit file “test1” to contain following content. Change content on first line by using command “x” to delete unwanted characters and then inserting desired texts.
Then use “G” to go to last line and press “o” to insert text at the last line..
Hello, This is my second practice
SOI Asia project stands for School of Internet Asia project
And I am one of operator team member of SOI Asia project

Ex 3. Search all occurrences of word “project” in file “test1” using command “/” and “n”.

Ex 4. Replace all occurrences of word “project” with word “activity”, save to new file name “test2”. Check that content of file “test1” and “test2” are different.

Ex 5. Edit file “test2” and delete the last line using command “dd”.
Then copy remaining 2 lines and paste it 5 times.
Now “test2” will contain following content, save but don’t exit vi.
Hello, This is my second practice
SOI Asia activity stands for School of Internet Asia activity
Hello, This is my second practice
SOI Asia activity stands for School of Internet Asia activity
Hello, This is my second practice
SOI Asia activity stands for School of Internet Asia activity
Hello, This is my second practice
SOI Asia activity stands for School of Internet Asia activity
Hello, This is my second practice
SOI Asia activity stands for School of Internet Asia activity

Ex 6. Moving to Line 7 of file “test2” using command “7G” and delete last 4 lines of file by command “4dd” and then undelete using “p”.

Ex 7. Copy and paste first line 3 times, save and exit. Final content of file “test2” is
Hello, This is my second practice
Hello, This is my second practice
Hello, This is my second practice
Hello, This is my second practice
SOI Asia activity stands for School of Internet Asia activity
Hello, This is my second practice
SOI Asia activity stands for School of Internet Asia activity
Hello, This is my second practice
SOI Asia activity stands for School of Internet Asia activity
Hello, This is my second practice
SOI Asia activity stands for School of Internet Asia activity
Hello, This is my second practice
SOI Asia activity stands for School of Internet Asia activity

You must provide screenshots of each output with title of each screenshot.
$12.50 for this solution

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Linux Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Decision:
Upload a file
Continue without uploading

SUBMIT YOUR HOMEWORK
We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats