Browse the study library +
← All practice questions

Grep vs Glob — which does what?

Show answer and explanation

Answer: B

Grep answers 'where is this text?' (contents); Glob answers 'which files match this pattern?' (paths/names).

Grep کا جواب 'یہ متن کہاں ہے؟' (اندر کا مواد)؛ Glob کا جواب 'کون سی فائلیں اس نمونے سے ملتی ہیں؟' (راستے/نام)۔

One practice question a week

Get a new exam-style question with a clear explanation in your inbox. Free, no spam, unsubscribe any time.

We only use your email for these updates. See our privacy policy.