Mastering Basic Bash Commands

Mastering Basic Bash Commands

10th Grade

10 Qs

quiz-placeholder

Similar activities

Perintah Dasar Linux

Perintah Dasar Linux

9th - 12th Grade

10 Qs

Linux Chapter 3 Review

Linux Chapter 3 Review

9th - 12th Grade

12 Qs

Year 8 Unit 2 CMD, Command line

Year 8 Unit 2 CMD, Command line

7th - 12th Grade

14 Qs

2.2 Web Addresses

2.2 Web Addresses

9th - 10th Grade

10 Qs

Command Line #2

Command Line #2

9th - 12th Grade

10 Qs

Linux commands

Linux commands

9th - 12th Grade

10 Qs

La shell di Linux

La shell di Linux

9th - 12th Grade

15 Qs

Linux-2 Quiz 2 -- LAMP

Linux-2 Quiz 2 -- LAMP

1st - 12th Grade

15 Qs

Mastering Basic Bash Commands

Mastering Basic Bash Commands

Assessment

Quiz

Computers

10th Grade

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?