Q:

Which one of the following command will be used for quitting after selecting 3 lines from file emp.lst?

0

Which one of the following command will be used for quitting after selecting 3 lines from file emp.lst?


  1. sed -n 3 emp.lst
  2. sed -i 1-3 emp.lst
  3. sed ‘3q’ emp.lst
  4. sed -n

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (c).sed ‘3q’ emp.lst

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

UNIX - FILTERS AND REGULAR EXPRESSIONS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which of the following command is used with sed fo... >>
<< What is the correct syntax for using sed?...