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
Explanation:
Which of the following commands will print to standard out only the lines that do not begin with #
(pound symbol) in the file foobar?
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
Explanation: