LPIC-1 101-500 Exam · Objective 103.2

Replacing every occurrence on each line

103.2Standard

Replace every occurrence of error with warn in app.log and print the result.

If a line contains error more than once, replace every occurrence without editing the source file.

Which command is correct?

Replacing every occurrence on each line · Answer choices
Question IDKP-103-041
EnvironmentGNU sed 4.x
Last technical review2026-08-12
Report an error or rights issue
Progress and questions

Path & Pass is an independent learning site and is not affiliated with any certification body. Questions are original practice content based on published objectives.