Linux Foundation Certified System Administrator (LFCS) — Question 8

What does the symbol within regular expressions represent?

Answer options

Correct answer: C

Explanation

The correct answer is C, which signifies that the preceding qualifier may appear either once or not at all. Option A indicates one or more times, which is incorrect, while option B signifies zero or more times, and option D refers to matching a specific character literally, neither of which describe the intended meaning.