
Basic Command Line Quiz
Authored by T Branding
Instructional Technology
9th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to list files and directories in the current working directory?
ls
cd
pwd
cat
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to change directories?
mkdir
cd
ls
touch
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the command pwd do?
Prints the password
Pauses the terminal
Prints the current working directory
Changes the directory
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to create a new empty file?
rm
touch
nano
mkdir
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you view the contents of a text file in the terminal?
show
open
cat
edit
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command would you use to remove a file?
rm
rmdir
delete
erase
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the mkdir command do?
Deletes a directory
Lists hidden files
Creates a new directory
Moves files
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?