A

Admin • 802.91K Points
Coach

Q. Which command would search lines 2 through 20 of the file records for the characters 1st and replace them with the characters first?

  • (A) sed ‘2,20s/1st/first/’ records
  • (B) sed ‘s2,20/1st/first/’ records
  • (C) sed ‘2-20s/1st/first/’ records
  • (D) sed ‘s2-20/1st/first/’ records
  • Correct Answer - Option(A)
  • Views: 5
  • Filed under category Linux
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.