Exam4Training

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 LFCS Dumps Valid Version with 260 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version