The ???? command searches a specified file and returns all lines in the file containing a specified string.

Tools of the Trade: Quiz 3

Quiz
•
Computers
•
Professional Development
•
Hard
John Coder
FREE Resource
13 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Notice how the grep command is followed by two arguments. The first argument is the str_____ we're searching for; in this case, OS. The second argument is the name of the fi_______ we're searching through, updates.txt.
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Piping is a Linux command that can be used for a variety of purposes. In a moment, we'll focus on how it can be used for fil_____. But first, let's talk about the general idea of piping. The piping command sends a standard output of one command as standard input into another command for further processing. It's represented by the vertical bar character. In our context, we can refer to this as the pipe character. Take a moment and imagine a physical pipe. Physical pipes have two ends. On one end, for example, water might enter the pipe from a hot water tank. Then, it travels through the pipe and comes out on the other end in a sink. Similarly, in Linux, piping also involves redirection. Output from one command is sent through the pipe and then is used on the other side of the pipe.
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The pipe character ? is located in various places on a keyboard.
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
ls /home/analyst/reports | grep users returns the fi____ and dir_____ names in the reports directory that contain users. Before the pipe, ls indicates to list the names of the files and directories in reports. Then, it sends this output to the command after the pipe. In this case, grep users returns all of the file or directory names containing users from the input it received.
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Note: Piping is a general form of redi_________ in Linux and can be used for multiple tasks other than filtering. You can think of piping as a general tool that you can use whenever you want the output of one command to become the in______ of another command.
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The ???? command searches for directories and files that meet specified criteria. There’s a wide range of criteria that can be specified with ????. For example, you can search for files and directories that:
Contain a specific string in the name,
Are a certain file size, or
Were last modified within a certain time frame.
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
N4 Theory - 1

Quiz
•
Professional Development
15 questions
CloudBinary_Jenkins_Quiz- 2

Quiz
•
Professional Development
10 questions
IT ENGLISH: Research Project Topics - MS Active Directory

Quiz
•
Professional Development
12 questions
Git & GitHub Quiz 2 Codingnest

Quiz
•
Professional Development
14 questions
Linux Command Line Quiz

Quiz
•
Professional Development
10 questions
Quiz 3 Windows Server

Quiz
•
Professional Development
15 questions
Coding & Logic - Lesson 1

Quiz
•
Professional Development
15 questions
Linux-2

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade