
Kali Training: Quiz 4

Quiz
•
Computers
•
Professional Development
•
Easy
John Coder
Used 1+ times
FREE Resource
11 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The ____ command is generally used for displaying the contents of a file, but it can also be used to create
small files. For creating bigger files, it’s better to enter the code in a text editor such as
vim, emacs, leaf pad, g edit, or kate and then save it as a file.
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The cat command followed by a filename will display the contents of that file, but to create a file, we follow the cat command with a r_________, denoted with the > symbol, and a name for the file we want to create. Here’s an example:
cat > hackingskills
Hacking is the most valuable skill set of the 21st century!
To exit and return to the prompt, I press CTRL ___
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
To add, or append, more content to a file, you can use the cat command with a d__________ redirect (>>), followed by whatever you want to add to the end of the file.
Here’s an example:
cat >> hacking skills
Everyone should learn hacking
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
If I want to o__________ the file with new information, I can simply use the cat command with a single redirect again, as follows:
cat > hackingskills
Everyone in IT security without hacking skills is in the dark
cat hackingskills
Everyone in IT security without hacking skills is in the dark
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The second command for file creation is ______. This command was originally developed
so a user could simply change file details, such as the date it was
created or modified. However, if the file doesn’t already exist, this command creates
that file by default.
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The command for creating a directory in Linux is ______..
To create a directory named newdirectory, enter the following command:
_____newdirectory
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
To copy files, we use the _____ command. This creates a duplicate of the file in the new location and leaves the old one in place. Here, we’ll create the file oldfile in the root directory with touch and copy it to
/root/newdirectory, renaming it in the process and leaving the original oldfile in place:
touch oldfile
__ oldfile /root/newdirectory/newfile
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Git quizz

Quiz
•
Professional Development
11 questions
Quiz 1 Microsoft Word

Quiz
•
University - Professi...
7 questions
Cybersecurity Beginner Quiz

Quiz
•
Professional Development
13 questions
Fondamentaux - Activités: OWASP Top 10

Quiz
•
Professional Development
15 questions
Git & GitHub Quiz

Quiz
•
Professional Development
11 questions
Linux Essentials Quiz 2

Quiz
•
Professional Development
12 questions
N4 Theory - 1

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

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

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

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade