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
πŸ’¬ Discuss
βœ… Correct Answer: (A) sed ‘2,20s/1st/first/’ records

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
188
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
93%
Success Rate