Bird
0
0

Which wildcard pattern matches all files that start with report and end with any extension?

easy📝 Conceptual Q1 of 15
Linux CLI - File and Directory Operations
Which wildcard pattern matches all files that start with report and end with any extension?
Areport[]
B*.report
Creport?
Dreport.*
Step-by-Step Solution
Solution:
  1. Step 1: Understand the wildcard * usage

    The asterisk * matches zero or more characters of any kind.
  2. Step 2: Analyze the pattern report.*

    This pattern matches files starting with report followed by a dot and any extension.
  3. Final Answer:

    report.* -> Option D
  4. Quick Check:

    Wildcard * matches any characters [OK]
Quick Trick: Use * to match any characters including none [OK]
Common Mistakes:
  • Confusing * with ? wildcard
  • Using [] without characters inside
  • Placing * in wrong position

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes