Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124

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?

The Question “n 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? ” is a part of Operating Systems and You: Becoming a Power User Course – Week 01:  Navigating The System, Course is available on Coursera.

Question : 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?

  1. ls /home/ben/Documents | grep important
  2. ls /home/ben/Documents >> grep important
  3. ls /home/ben/Documents < grep important
  4. ls /home/ben/Documents > grep important

Correct Answer : 1

About Operating Systems and You: Becoming a Power User

In this course — through a combination of video lectures, demonstrations, and hands-on practice — you’ll learn about the main components of an operating system and how to perform critical tasks like managing software and users, and configuring hardware.

Enroll on Coursera

Conclusion:

We hope you know the correct answers to “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?” If Why Quiz helped you to find out the correct answer then make sure to bookmark our site for more Course Quiz Answers.

If the options are not the same then make sure to let us know by leaving it in the comments below.

Related Questions >>

Which portion of the PuTTY package allows you to perform file transfers using the SCP (Secure Copy) protocol?

For an ssh connection to work, which of the following need to be true? Check all that apply.

In what log files can you find information about authentication errors?

In what log files can you find information about bootup errors? Check all that apply.

If you were investigating login issues on a Windows computer, which portion of the Event Viewer logs would be a good place to start your investigation?

Leave a Reply

Your email address will not be published. Required fields are marked *