Question
VI Exercise Ex 1. At your home directory, create a new file test1 which contains following 2 lines, save and exit. Hello, This is my
VI Exercise 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 dont 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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started