1.

To write selected lines, ____ is used with sed.(a) i(b) n(c) w(d) pThe question was posed to me in examination.My question is taken from sed command in chapter Filters using Regular Expressions of Unix

Answer» RIGHT answer is (C) w

Easy EXPLANATION: For writing selected lines to a separate file irrespective of the way of addressing (RELATIVE or context), we can use w (write) command. For example,


Discussion

No Comment Found

Related InterviewSolutions