
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
15 questions
Linux-2

Quiz
•
Professional Development
15 questions
CloudBinary_Jenkins_Quiz- 2

Quiz
•
Professional Development
10 questions
Chapter 11.1 Windows Desktop and File Explorer

Quiz
•
KG - Professional Dev...
14 questions
Linux Command Line Quiz

Quiz
•
Professional Development
15 questions
Basics in Active Directory for IT Helpdesk Quiz

Quiz
•
Professional Development
15 questions
SLG ULI Week 9

Quiz
•
Professional Development
10 questions
Quiz 3 Windows Server

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

Quiz
•
Professional Development
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
5 questions
Setting goals for the year

Quiz
•
Professional Development
11 questions
complex sentences

Quiz
•
Professional Development
8 questions
Ötzi the Iceman: A 5,000-Year-Old True Crime Murder Mystery | Full Documentary | NOVA | PBS

Interactive video
•
Professional Development
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
6 questions
Basics of Budgeting 7

Quiz
•
6th Grade - Professio...
20 questions
Movies

Quiz
•
Professional Development