1.

grep command can be used for searching a pattern in more than one file.(a) True(b) FalseI got this question in a national level competition.My doubt stems from grep command topic in portion Filters using Regular Expressions of Unix

Answer» CORRECT answer is (a) True

Explanation: When we use grep command with multiple filenames, it displays the filename along with the OUTPUT. For example, when we SEARCH “director” in emp1.lstemp2.lst then the FOLLOWING result will be DISPLAYED,


Discussion

No Comment Found

Related InterviewSolutions