Command Line Navigation Quiz

Command Line Navigation Quiz

12th Grade

15 Qs

quiz-placeholder

Similar activities

AR - 1.5 - Looping Shuffles

AR - 1.5 - Looping Shuffles

8th Grade - University

17 Qs

Sem 2 IT Test 1

Sem 2 IT Test 1

12th Grade - University

10 Qs

PTS Genap Informatika Kelas XI

PTS Genap Informatika Kelas XI

11th Grade - University

20 Qs

Asesmen Sumatif 1

Asesmen Sumatif 1

12th Grade

15 Qs

Linux - podstawy + polecenia konsoli

Linux - podstawy + polecenia konsoli

10th Grade - University

20 Qs

Computer Basics Quiz

Computer Basics Quiz

4th Grade - University

15 Qs

Network Configuration Quiz

Network Configuration Quiz

9th - 12th Grade

10 Qs

Graded Quiz on Programming with a Maze

Graded Quiz on Programming with a Maze

7th Grade - University

20 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?