In a Linux machine, you want to list through a directory called /home/ben/Documents and search for the word “important” in the filenames in that directory. Which of the following commands can you use?

In a Linux machine, you want to list through a directory called /home/ben/Documents and search for the word “important” in the filenames in that directory. Which of the following commands can you use?

  • ls /home/ben/Documents | grep important
  • ls /home/ben/Documents >> grep important
  • ls /home/ben/Documents < grep important
  • ls /home/ben/Documents > grep important

You can use the | command to pipe the output of one command into another.

Get All Week Quiz Answer:

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

Similar Posts