Which grep command will print only the lines that do not end with a / in the file foo?

Which grep command will print only the lines that do not end with a / in the file foo?
A . grep’/$’ foo
B. grep ‘/#’ foo
C. grep -v ‘/$’ foo
D. grep -v ‘/#’ foo

Answer: C

Latest 101-500 Practice Questions with 242 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments