grep Command
The grep Command The grep command searches a file or files for lines that have a certain pattern. Syntax Options Sr. No. Option & Description 1. -v (Prints all lines that do not match pattern.) 2. -n (Prints the matched line and its line number.) 3. -l (Prints only the…