Kali Training: Quiz 5

Kali Training: Quiz 5

Professional Development

8 Qs

quiz-placeholder

Similar activities

Cloudbinary_WebServer_Quiz_Linux_Windows

Cloudbinary_WebServer_Quiz_Linux_Windows

Professional Development

10 Qs

Linux

Linux

Professional Development

10 Qs

Prueba de DNS

Prueba de DNS

Professional Development

10 Qs

edX Vanderbilt - Day 1 Review

edX Vanderbilt - Day 1 Review

Professional Development

10 Qs

Chapter 1&2 File Management and Office Features

Chapter 1&2 File Management and Office Features

Professional Development

13 Qs

SLG ULI101 Week 10

SLG ULI101 Week 10

Professional Development

11 Qs

Linux+ LX0-103 Quiz B

Linux+ LX0-103 Quiz B

Professional Development

10 Qs

XK0-004 - Chapter 6

XK0-004 - Chapter 6

Professional Development

7 Qs

Kali Training: Quiz 5

Kali Training: Quiz 5

Assessment

Quiz

Computers

Professional Development

Hard

Created by

John Coder

FREE Resource

8 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The command grep is probably the most widely used text manipulation command. It lets you

f__________ the content of a file for display. If, for instance, you want to see all lines that include the

word "option" in your fuse.conf file, you could use cat and ask it to display only those lines

c____ /etc/fuse.conf | g____ output

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The ______ command lets you search for occurrences of a word or a text pattern and then

perform some action on it. The name of the command is a contraction of stream editor,

because it follows the same concept as a stream editor. In its most basic form, ____ operates

like the Find and Replace function in Windows.

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The ____________ command displays a page of a file at a time and lets you page down through it using

the ENTER key. It’s the utility that the man pages use, so let’s look at it first

____________ /etc/fuse.conf

To exit more, enter ____ .

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The ________ command is very similar to more, but with additional functionality. With ________, you can not only scroll through a file at your leisure, but you can also filter it for terms.

__________ /etc/fuse.conf

Notice in the bottom left of the screen that __________ has highlighted the path to the file. If you

press the forward slash (/) key, less will let you search for terms in the file

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

If you just want to view the beginning of a file, you can use the ________ command. By default, this

command displays the first 10 lines of a file.

_________ /etc/fuse.conf

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

If you want to see more or fewer than the default 10 lines, enter the quantity you want with

the dash (-) switch after the call to _______ and before the filename. For example, if you want to

see the first 20 lines of the file:

_______ -__ /etc/fuse.conf

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The _________ command is similar to the head command, but it’s used to view the last lines of a file.

You can display more lines by grabbing the last 20 lines of fuse.conf. As with the head command, you can tell tail

how many lines to display by entering a dash (-) and then the number of lines between the

command and the filename.

_______ -__ /etc/fuse.conf

8.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Sometimes—especially with very long files—we may want the file to display line numbers.

To display a file with line numbers, we use the __ command.

__ /etc/fuse.conf