Examveda

Which command will delete all the blank lines in file old.txt?

A. sed '/d' old.txt

B. sed '/^/d' old.txt

C. sed '/^$/d' old.txt

D. sed '/^*/d' old.txt

Answer: Option C


This Question Belongs to Computer Science >> Linux

Join The Discussion

Related Questions on Linux