Search Header Logo

Mastering Linux Directory Commands

Authored by Rinchen Tso

Computers

12th Grade

Used 5+ times

Mastering Linux Directory Commands
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to create a new directory?

remove

del

mkdir

rmdir

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you navigate to a directory named 'Documents'?

go to Documents

navigate to Documents directory

open Documents folder

cd Documents

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command displays the current working directory?

mkdir

cd

ls

pwd

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command would you use to remove an empty directory?

erase

rmdir

remove

del

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for creating a directory named 'Projects' inside 'Documents'?

mkdir Documents/Projects

mkdir Projects/Documents

create Documents/Projects

mkdir /Documents/Projects

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the command 'pwd' stand for?

print working data

print working document

print working directory

print current directory

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want to remove a directory named 'OldFiles', what command would you use?

remove OldFiles

delete OldFiles

clear OldFiles

rmdir OldFiles or rm -r OldFiles

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?