LPIC-1 101-500 Exam · Objective 103.7

Testing for a match without output

103.7Standard

A shell script must test whether health.txt contains a line READY.

Do not print the matching text; use only the exit status.

Which option should be added to grep?

Testing for a match without output · Answer choices
Question IDKP-103-113
EnvironmentGNU grep 3.x / Bash 5.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.