
The Complete Practical Docker Guide - Creating and Removing Directories and Files
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to change the current directory in a terminal?
ls
mkdir
rm
cd
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to create a new directory?
cd
mkdir
rm
ls
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What option should be used with 'mkdir' to create parent directories if they do not exist?
-r
-p
-f
-d
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to remove a directory and its contents?
delete
erase
rmdir
rm
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What option is necessary with 'rm' to remove directories recursively?
-f
-d
-p
-r
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to create an empty file?
mkdir
echo
cat
touch
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you create a file with specific content using the terminal?
touch
echo
cat
mkdir
Access all questions and much more by creating a free account
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
Already have an account?