
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
The ???? command searches a specified file and returns all lines in the file containing a specified string.
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 Wayground
11 questions
3D - CAD

Quiz
•
Professional Development
15 questions
CloudBinary_Apache_Tomcat_Quiz- 2

Quiz
•
Professional Development
10 questions
Comm-Cen-Final-Quiz

Quiz
•
Professional Development
16 questions
DECI - Week 8 - round

Quiz
•
Professional Development
14 questions
Ingenio - Full Stack Course - First Quiz

Quiz
•
Professional Development
17 questions
About OneDrive

Quiz
•
Professional Development
18 questions
CIW IBA Lesson 5 Vocabulary

Quiz
•
8th Grade - Professio...
10 questions
Pizzabot session 2

Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade