Command Line Navigation Quiz

Command Line Navigation Quiz

12th Grade

15 Qs

quiz-placeholder

Similar activities

Tech Adventures for Grade 2

Tech Adventures for Grade 2

2nd Grade - University

15 Qs

Networking Protocols Quiz

Networking Protocols Quiz

9th - 12th Grade

12 Qs

Lesson 1: System Attacks and External Threats

Lesson 1: System Attacks and External Threats

9th - 12th Grade

15 Qs

Introduction to Software Technology – Final Exam

Introduction to Software Technology – Final Exam

11th Grade - University

20 Qs

Introduction to Computer Science Concepts

Introduction to Computer Science Concepts

6th Grade - University

10 Qs

QUIZ 2 (FINALS)

QUIZ 2 (FINALS)

12th Grade

20 Qs

Typing

Typing

3rd Grade - University

15 Qs

Electronic Diary Systems Assessment

Electronic Diary Systems Assessment

10th Grade - University

15 Qs

Command Line Navigation Quiz

Command Line Navigation Quiz

Assessment

Quiz

Information Technology (IT)

12th Grade

Practice Problem

Hard

Created by

Corey Riley

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...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to list the contents of a directory in Linux?

`cd`

`ls`

`pwd`

`mkdir`

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the `cd` command in a command line interface?

To copy files

To change directories

To delete files

To list files

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you are in the `/home/user` directory and you want to navigate to `/home/user/documents`, which command would you use?

`cd /home/user`

`cd documents`

`cd /home/user/documents`

`cd ..`

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the command `pwd` display in a command line interface?

The current working directory

The list of files in a directory

The previous directory

The parent directory

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you navigate to the parent directory of your current location using the command line?

`cd /`

`cd ..`

`cd ~`

`cd -`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command would you use to create a new directory named "projects"?

`mkdir projects`

`rmdir projects`

`cd projects`

`ls projects`

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you are in the `/home/user/documents` directory and want to go back to the home directory, which command would you use?

`cd /`

`cd ~`

`cd ..`

`cd /home`

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?