
Mastering Basic Bash Commands

Quiz
•
Computers
•
10th Grade
•
Easy

Sam Almushara
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to create a new directory?
remove
mkdir
del
rmdir
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you remove an empty directory in bash?
rm -r directory_name
delete directory_name
clear directory_name
rmdir directory_name
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command lists all files and directories in the current directory?
clear
dir
ls
show
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the clear command in the terminal?
To display the current directory path.
To save the current terminal session.
To list all files in the current directory.
To clear the terminal screen.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you navigate to a directory named /Documents/Info ?
navigate to Documents directory
cd /Documents/Info
opens Documents folder
go to Documents
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command would you use to create a directory called 'Projects'?
newdir Projects
add directory Projects
create Projects
mkdir Projects
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to remove a directory named 'OldFiles', which command would you use?
clear OldFiles
remove OldFiles
delete OldFiles
None of the Answers
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Terminal Basics

Quiz
•
9th Grade - University
10 questions
Computer Network

Quiz
•
10th Grade
10 questions
Command-Line Tools Quiz

Quiz
•
9th - 12th Grade
10 questions
Python Basic files

Quiz
•
10th - 12th Grade
15 questions
File Management

Quiz
•
9th - 12th Grade
15 questions
SIMDIG BAB 1

Quiz
•
9th - 12th Grade
10 questions
Linux M1

Quiz
•
9th - 12th Grade
15 questions
La shell di Linux

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade