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
Submitted by: Murtazac) sed '/^$/d' old.txt
Submitted by: Murtaza
Submitted by: Murtaza
Read Online Linux OS Editors Job Interview Questions And Answers
Top Linux OS Editors Questions
☺ | Which command sets the number for all lines? |
☺ | Which sed command deletes the specified address range: |
☺ | Which command shows all the abbreviations in vi editor? |
☺ | Which vi editor command copies the current line of the file? |
Top Linux OS Categories
☺ | Device Drivers Interview Questions. |
☺ | Linux OS Management Interview Questions. |
☺ | Linux Makefile Interview Questions. |
☺ | Linux Environment Interview Questions. |
☺ | Linux OS Shell Interview Questions. |