CompTIA
LX0-103 · Question #114
You have created a really long letter and after you are done you notice that you used the name "Bob" many times but you forgot to capitalize it in many instances. Which command would replace "bob" wit
Sign in or unlock LX0-103 to reveal the answer and full explanation for question #114. The question stem and answer options stay visible for context.
GNU and Unix Commands
Question
You have created a really long letter and after you are done you notice that you used the name "Bob" many times but you forgot to capitalize it in many instances. Which command would replace "bob" with "Bob" in all instances and generate a new letter for printing?
Options
- Ased '/bob/Bob' letter >newletter
- Bsed s/bob/Bob/letter < newletter
- Csed 's/bob/Bob' letter > newletter
- Dsed 's/bob/Bob/g' letter > newletter
- Esed 's/bob. Bob/' letter > newletter
Unlock LX0-103 to see the answer
You've previewed enough free LX0-103 questions. Unlock LX0-103 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#sed#global substitution#text processing#stream editor