QuestionQ7

VerifiedGNU and Unix Commands

Which wildcard patterns match these filenames?

ttyS0 ttyS1 ttyS2

Choose two
Explanation

? matches the single S character and [0-5] matches each of the digits 0, 1, and 2. [A-Z] matches the uppercase S, while [012] matches each listed final digit.

Community Discussion

No comments yet. Be the first to start the discussion!