The command "sed -n '/google/p' old.txt" will:
a) print the lines containing the word 'google' in file old.txt
b) delete the lines containing the word 'google' in file old.txt
c) will generate an error message
d) none of the mentioned
Submitted by: Murtazaa) print the lines containing the word 'google' in file 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. |