
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Introduction to programming
Quiz
•
Professional Development
10 questions
beware of phishing
Quiz
•
Professional Development
14 questions
Tin học 7 - ÔT Cuối kì 2 CĐ Bảng tính - Trình chiếu
Quiz
•
Professional Development
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
16 questions
L4 Ôn tập HK 2 - 22-23
Quiz
•
Professional Development
12 questions
eContent Development Tools
Quiz
•
Professional Development
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
11 questions
ujian dunia akhirat
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade