Question: Create a file name text.txt using vim which will have the following lines. a . Hello b . 1 2 3 4 5 c .
Create a file name text.txt using vim which will have the following lines.
a Hello
b
c
d Hello
Read about grep and then:
i Search grep for Hello and display line numbers in text.txt
ii Search for the line in which Hello is not present and display line numbers in the file text.txt
SCREENSHOT THIS TASK. KALI
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
