The following command will match the lines beginning with ‘2’.$ grep “^2” emp.lst

🎲 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.


The following command will match the lines beginning with ‘2’.<br>$ grep “^2” emp.lst