Q.

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» C. sed ‘/^$/d’ old.txt
1.3k
0
Do you find this helpful?
4

View all MCQs in

Fedora

Discussion

No comments yet