Consider the following commands.$ sed -n ‘1,2p’ emp.lst$ sed -n ‘3,$!p’ emp.lstThe output of both commands will be the same.

🎲 Try a Random Question  |  Total Questions in Quiz: 48  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Unix Basics Practice Test: Unix Filters - grep and sed — practice the complete quiz, review flashcards, or try a random question.


Consider the following commands.<br>$ sed -n ‘1,2p’ emp.lst<br>$ sed -n ‘3,$!p’ emp.lst<br>The output of both commands will be the same.