LinuC Level 1 101 Exam · Objective 1.03.4

Matching a one-digit device number

1.03.4Basic

devices.txt contains disk, disk0, disk7, disk12, and diskA.

Extract only lines whose entire value is disk followed by one digit.

Which basic regular expression is appropriate?

Matching a one-digit device number · Answer choices
Question IDKL-101-486
EnvironmentGNU grep 3.x / C.UTF-8ロケール
Last technical review2026-08-13
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.