Question: Are the following two commands equivalent? Create the file foo with relevant lines first and then use it to explain. grep ^ [ ^
Are the following two commands equivalent? Create the file foo with relevant lines first and then use it to explain.
grep az foo
grep v az foo
Hint: pay attention to the lines in foo that contain nothing, ie blank lines. Show ALL steps! Including creating the foo file and explaing the commands. Also include the output after creating the file and runnning both commands.
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
