Home »
MCQs »
Linux MCQs
Which is the correct command syntax to locate a file containing the words 'hello' and 'this'?
21. Which is the correct command syntax to locate a file containing the words "hello" and "this"?
- locate -i *hello*this
- locate -i **hello**this
- locate -i *hello*this*
- locate -i **hello**this**
Answer: A) locate -i *hello*this
Explanation:
The correct command syntax to locate a file containing the words "hello" and "this":
locate -i *hello*this