Which command will print to standard out only the lines that do not begin with # (pound symbol) in the file foobar?
A.
/bin/grep -v #$ foobar
B.
/bin/grep-v ^# foobar
C.
/bin/grep ^#foobar
D.
/bin/grep #$ foobar
Explanation:
grep stands for general regular processor, used to prints all lines where pattern matched.
Achor symbol used by String Processor tools like sed, awk and grep ^ line begins with $ ldine ends with <word begins with >word end with -v option in grep is non matching.