Tools of the Trade: Quiz 3

Tools of the Trade: Quiz 3

Professional Development

13 Qs

quiz-placeholder

Similar activities

git quiz 2

git quiz 2

Professional Development

10 Qs

Kali Linux Quiz1

Kali Linux Quiz1

Professional Development

10 Qs

Kali Linux

Kali Linux

Professional Development

15 Qs

MTA 98-368 STUDY GUIDE

MTA 98-368 STUDY GUIDE

11th Grade - Professional Development

9 Qs

Linux

Linux

Professional Development

10 Qs

Scripting Day 1

Scripting Day 1

Professional Development

10 Qs

11142020_A+_Lesson_10_Quiz

11142020_A+_Lesson_10_Quiz

Professional Development

9 Qs

Introduction to Linux

Introduction to Linux

Professional Development

15 Qs

Tools of the Trade: Quiz 3

Tools of the Trade: Quiz 3

Assessment

Quiz

Computers

Professional Development

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?