Examveda

How can you search for blank line in a file?

A. $ grep " " file

B. $ grep "^$" file

C. $ grep [" "] file

D. $ grep [^$] file

Answer: Option B


This Question Belongs to Computer Science >> Linux

Join The Discussion

Related Questions on Linux