Search Header Logo

Mac Command Line Quiz

Authored by Benjamin Eilenberg

Instructional Technology

9th Grade

Used 3+ times

Mac Command Line Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to navigate to the home directory in the command line?

cd

mkdir

pwd

ls

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you list all files and directories in the current directory?

ls -a

ls

cd

dir

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to create a new file in the command line?

create

make

newfile

touch

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you delete a file in the command line?

rm [file_name]

remove [file_name]

erase [file_name]

del [file_name]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to create a new directory in the command line?

cd

rm

touch

mkdir

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you navigate to a specific directory in the command line?

dir directory_path

cd ..

cd /

cd directory_path

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to delete a directory in the command line?

delete

rmdir or rm -r

dirdelete

remove

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?