PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

A.
grep ‘/#’ foo

B.
grep -v ‘/$’ foo

C.
grep ‘/$’ foo

D.
grep -v ‘/#’ foo

Explanation:


Leave a Reply