LPIC-1 101-500 Exam · Objective 103.7

Extracting only fully matching IDs

103.7Standard

Select lines from ids.txt that are exactly api- followed by two digits or web- followed by two digits.

Partial matches must not be accepted.

api-07
web-12
xapi-07
api-7
db-12
api-071

Which command is correct?

Extracting only fully matching IDs · Answer choices
Question IDKP-103-008
EnvironmentGNU grep 3.x / LC_ALL=C
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.