1.

Which of the following commands is known as stream editor?(a) sed(b) grep(c) grep(d) trI had been asked this question in an internship interview.My question is based upon sed command topic in section Filters using Regular Expressions of Unix

Answer»

The correct answer is (a) sed

To ELABORATE: sed is a MULTIPURPOSE tool which PERFORMS the function of several filters together. This filter is DERIVED from the ed (original UNIX editor). It performs non-interactive operations on a data stream.It uses instructions to act on a text for selecting lines, with an action to be taken.



Discussion

No Comment Found

Related InterviewSolutions