LPI
101-400 · Question #279
Which command will print to standard out only the lines that do not begin with # (pound symbol) in the file foobar?
Sign in or unlock 101-400 to reveal the answer and full explanation for question #279. The question stem and answer options stay visible for context.
Question
Which command will print to standard out only the lines that do not begin with # (pound symbol) in the file foobar?
Options
- A/bin/grep ^# foobar
- B/bin/grep -v ^# foobar
- C/bin/grep #$ foobar
- D/bin/grep -v #$ foobar
Unlock 101-400 to see the answer
You've previewed enough free 101-400 questions. Unlock 101-400 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.