DispersedNetUNIX Shell Programming

Practice and review

Basic sed Syntax: Quiz

Objective: Check command selection, output, and replacement behavior.

Four questions, one point each. Multiple-answer questions require exactly the correct set; selecting extra choices does not earn the point. Unanswered questions receive no credit.

Which tasks fit sed particularly well? Select two.
Which instruction prints only lines 2 through 5? Select one.
What does an unescaped & mean in substitution replacement text? Select one.
Which statements about sed output are correct? Select two.