The command “sed -n ‘/sanfoundry/p’ old.txt” will

Question:The command “sed -n ‘/sanfoundry/p’ old.txt” will

1.print the lines containing the word ‘sanfoundry’ in file old.txt

2.delete the lines containing the word ‘sanfoundry’ in file old.txt

3.will generate an error message

4.none of the mentioned


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!