Mastering Basic Bash Commands

Mastering Basic Bash Commands

10th Grade

10 Qs

quiz-placeholder

Similar activities

BTEC DIT C3 LAA - Maintenance, Set up, Performance

BTEC DIT C3 LAA - Maintenance, Set up, Performance

10th - 11th Grade

10 Qs

Networks - Introduction

Networks - Introduction

10th Grade

13 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

SciVis II Unit 3 E

SciVis II Unit 3 E

9th - 12th Grade

12 Qs

ICT_LU3-Computer Software_League2

ICT_LU3-Computer Software_League2

10th - 12th Grade

10 Qs

Create a Website 1

Create a Website 1

KG - University

10 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

Mastering Basic Bash Commands

Mastering Basic Bash Commands

Assessment

Quiz

Computers

10th Grade

Practice Problem

Easy

Created by

Sam Almushara

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?