What command can you use to search for the word “fruit” in the text files in the above directory? Check all that apply.

In a Linux machine, you have the following files:

  • apple.txt
  • banana.jpg
  • chocolate.txt
  • orange.txt

What command can you use to search for the word “fruit” in the text files in the above directory? Check all that apply.

  • grep fruit apple.txt chocolate.txt orange.txt
  • grep fruit *.txt
  • find fruit apple.txt chocolate.txt
  • find fruit apple.txt chocolate.txt orange.txt

Get All Week Quiz Answer:

Operating Systems and You: Becoming a Power User Coursera Quiz & Assessment Answers

Similar Posts