Search Header Logo

Kali Training: Quiz 5

Authored by John Coder

Computers

Professional Development

Kali Training: Quiz 5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?