Posted on

Linux+ – LX0-101 – Exam 1 Samples – Question 44

Which of the following commands will print to standard out only the lines that do not begin with # (pound symbol) in the file foobar?

A. /bin/grep ^# foobar
B. /bin/grep -v ^# foobar
C. /bin/grep #$ foobar
D. /bin/grep -v #$ foobar

This Question is from the premium VCE/PDF and it is available for you here for free.

Correct Answer: B

Leave a Reply

Your email address will not be published. Required fields are marked *