InterviewSolution
Saved Bookmarks
| 1. |
Which one of the following command will be used for quitting after selecting 3 lines from file emp.lst?(a) sed -n 3 emp.lst(b) sed -i 1-3 emp.lst(c) sed ‘3q’ emp.lst(d) sed -nThis question was posed to me during an online exam.Enquiry is from sed command topic in chapter Filters using Regular Expressions of Unix |
|
Answer» Right CHOICE is (c) sed ‘3q’ emp.lst |
|